@import url("https://fonts.cdnfonts.com/css/ica-rubrik-black");
@import url("https://fonts.cdnfonts.com/css/poppins");
@import url("https://fonts.cdnfonts.com/css/couture?styles=21816");

:root {
  --main-color: #d746ff;
  --dark-main-color: #831db3;
  --color-1: #46b8e9;
  --color-2: #3ee9d1;
  --color-3: #ce43eb;
  --color-4: #eb4d4d;
  --color-5: #e8eb4d;
  --color-6: #554deb;
  --color-7: #4deb60;
  --color-8: #ebb94d;

  --white: #fff;
  --background: #f8f8f8;
  --light-gray: #dcdce0;
  --middle-gray: #eaeaed;
  --dark-gray: #3a3a3e;
  --almost-black: #222222;
  --black: #000000;

  --navbar: #222222;
  --stay-white: #fff;
  --info-submenu: #454444;
  --light-gray-to-black: #dcdce0;
  --light-gray-to-dark-gray: #ffffffcc;
  --theme-switcher: #5a5a5a;
  --theme-switcher-text: #6c6c6e;
}

:root.light-theme {
  --white: #fff;
  --background: #f8f8f8;
  --light-gray: #dcdce0;
  --middle-gray: #eaeaed;
  --dark-gray: #3a3a3e;
  --almost-black: #222222;
  --black: #000000;

  --navbar: #222222;
  --stay-white: #fff;
  --info-submenu: #454444;
  --light-gray-to-black: #dcdce0;
  --light-gray-to-dark-gray: #ffffffcc;
  --theme-switcher: #454444;
  --theme-switcher-text: #6c6c6e;
  body {
    background-color: var(--background);
  }
}

:root.dark-theme {
  --white: #2c2c2c;
  --background: #222222;
  --almost-black: #ffffff;
  --black: #fff;

  --navbar: #232323;
  --middle-gray: #5a5a5d;
  --info-submenu: #454444;
  --stay-white: #fff;
  --light-gray-to-black: #1a1a1a;
  --light-gray-to-dark-gray: #424242cc;
  --theme-switcher: #ffffff;
  --theme-switcher-text: #6c6c6e;
  .modal-top {
    background-color: var(--dark-gray);
  }
}

html {
  scroll-behavior: smooth;
}

/* Global Styles */

h1 {
  font-size: 50px;
  line-height: 64px;
  color: var(--almost-black);
}

h2 {
  font-size: 46px;
  line-height: 54px;
  color: var(--almost-black);
}

h4 {
  font-size: 20px;
  color: var(--almost-black);
}

h6 {
  font-weight: 700;
  font-size: 12px;
}

.error-message {
  padding: 12px;
  background: #f8d7da;
  border-radius: 6px;
  font-size: 16px;
  color: #a42834;
  text-align: center;
  margin-bottom: 20px;
}

.section-p1 {
  padding: 40px 80px;
}

.section-m1 {
  margin: 40px 0;
}

.section-m2 {
  margin-top: 4rem;
}

.upper-space {
  margin-top: 100px;
}

.lower-space {
  margin-bottom: 100px;
}

button.normal {
  font-size: 14px;
  font-weight: 600;
  padding: 15px 30px;
  color: #000;
  background-color: #fff;
  border-radius: 4px;
  cursor: pointer;
  border: none;
  outline: none;
  transition: 0.2s;
}

body {
  margin: 0;
  background-color: var(--background);
  font-family: Poppins;
}

.grid-background {
  margin: 0;
  min-height: calc(100vh - 96px); /* z.B. 80px */
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--white);
  background-image: repeating-linear-gradient(
      to right,
      transparent 0,
      transparent 99px,
      var(--middle-gray) 99px,
      var(--middle-gray) 100px
    ),
    repeating-linear-gradient(
      to bottom,
      transparent 0,
      transparent 99px,
      var(--middle-gray) 99px,
      var(--middle-gray) 100px
    );
  background-size: 100px 100px; /* Rastergröße festlegen */
  background-position: center center; /* Exakt mittig ausrichten */
}

/* ---------------------------------- INDEX.php ----------------------------------- */

#header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0px 40px;
  background: var(--navbar);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  z-index: 999;
  position: sticky;
  top: 0;
  left: 0;
}

.logo {
  width: 6vh;
}

#mobile {
  display: none;
  align-items: center;
}

#close {
  display: none;
}

#navbar {
  display: flex;
  align-items: center;
  justify-content: center;
}

#navbar li {
  list-style: none;
  padding: 20px 14px;
  position: relative;
}

#navbar li a {
  font-family: Poppins;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  transition: 0.3s ease;
}

#navbar > li > a:hover,
#navbar > li > a.active,
#info-btn > a:hover,
#info-btn > a.active {
  color: var(--main-color);
}

#navbar > li > a.active:hover {
  color: var(--dark-main-color);
}

#settings-gear {
  color: white;
}

#settings-gear:hover {
  color: rgb(81, 81, 81);
  cursor: pointer;
  transition: 0.3s ease;
}

.account-picture {
  height: 50px;
  margin-left: 16px;
  border: 2px solid var(--white);
  border-radius: 8px;
}

.account-icon {
  height: 60px;
  margin-left: 16px;
}

.modal {
  position: fixed; /* statt absolute */
  inset: 0; /* ersetzt top: 0; left: 0; right: 0; bottom: 0 */
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
  z-index: 999; /* möglichst hoch */
  opacity: 0;
  transition: 0.3s ease;
}

.modal-container {
  background-color: var(--white);
  width: 26rem;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

#modal-heading {
  font-size: 28px;
  font-weight: 600;
  color: var(--stay-white);
}

.modal-top {
  display: flex;
  background-color: var(--main-color);
  padding: 0rem 1.5rem;
  justify-content: space-between; /* Icon links, Überschrift rechts */
  align-items: center; /* vertikal zentrieren */
  transition: background-color 0.3s ease;
}

#settings-x {
  cursor: pointer;
  color: var(--stay-white);
}

.modal-subheading {
  padding: 0.5rem 1.5rem;
}

.theme-switcher input {
  display: none;
}

.theme-switcher {
  position: relative;
  background-color: var(--light-gray);
  border-radius: 10px;
  display: flex;
  padding: 0 3px;
  margin: 0 1.5rem;
}

.theme-switcher label {
  position: relative;
  z-index: 2;
  width: calc(100% / 2);
}

.theme-switcher label span {
  padding: 8px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 600;
  color: var(--theme-switcher);
}

.theme-switcher label span:hover {
  color: var(--theme-switcher-text);
  cursor: pointer;
}

.theme-switcher .slider {
  position: absolute;
  z-index: 1;
  width: calc((100% - 6px) / 2);
  top: 3px;
  bottom: 3px;
  transform: translateX(-110%);
  border-radius: 8px;
  transition: 0.3s ease, transform 0.25s ease-out;
  background-color: var(--white);
}

.theme-switcher input:nth-of-type(1):checked ~ .slider {
  transform: translateX(0);
}

.theme-switcher input:nth-of-type(2):checked ~ .slider {
  transform: translateX(100%);
}

.modal-bottom span i {
  margin-right: 5px;
  font-size: 20px;
  margin: 2px;
}

.top-line {
  border-top: 1px solid silver;
}

#settings-x:hover {
  color: red;
  transition: 0.3s ease;
}

.open-modal {
  opacity: 1;
  pointer-events: auto;
}

.color-options {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.color-box {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  cursor: pointer;
  transition: transform 0.2s ease;
  border: 2px solid var(--almost-black);
}

.color-box:hover {
  transform: scale(1.1);
  border-color: #888;
}

/* INFO BTN */

.info-content {
  position: absolute;
  top: 100%; /* direkt unter dem Button */
  left: 50%; /* Mitte vom Elternteil */
  transform: translateX(-50%); /* zurück um 50%, damit es zentriert ist */
  display: none;
  width: 100%;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  background-color: var(--info-submenu);
  overflow: hidden;
  border-radius: 10px;
  z-index: 1;
}

#info-btn {
  position: relative;
  margin: 0px -14px;
}

#info-btn a {
  white-space: nowrap;
  padding: 20px;
}

#info-btn a:hover {
  cursor: pointer;
}

.info-content a {
  display: block;
  padding: 8px 16px;
  color: var(--white);
  text-decoration: none;
}

.info-content a:hover {
  background-color: #282828;
}

#info-btn:hover .info-content {
  display: block;
}

/* Home Page */

.banner {
  width: 100%;
  height: 100vh;
  text-align: center;
  overflow: hidden;
  position: relative;
}
.banner .slider {
  position: absolute;
  width: 180px;
  height: 180px;
  top: 10%;
  left: calc(50% - 100px);
  transform-style: preserve-3d;
  transform: perspective(1000px);
  animation: autoRun 20s linear infinite;
  z-index: 2;
}
@keyframes autoRun {
  from {
    transform: perspective(1000px) rotateX(-10deg) rotateY(0deg);
  }
  to {
    transform: perspective(1000px) rotateX(-10deg) rotateY(360deg);
  }
}

.banner .slider .item {
  position: absolute;
  inset: 0 0 0 0;
  transform: rotateY(
      calc((var(--position) - 1) * (360 / var(--quantity)) * 1deg)
    )
    translateZ(550px);
}
.banner .slider .item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.banner .content {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(1400px, 100vw);
  height: max-content;
  display: flex;
  flex-wrap: wrap;

  align-items: center;
  z-index: 1;
}

.mlc-text {
  font-family: "Couture", sans-serif;
  font-style: normal;
  font-size: 16em;
  line-height: 1em;
  position: relative;
  background: linear-gradient(
    to top,
    #0000ff,
    #6a00ff,
    #c700ff,
    #ff1493,
    #f1ee31,
    #f1ee31
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 4px rgb(255, 255, 255);
  z-index: 2;
}

.banner .content .author {
  position: absolute;
  font-family: Poppins;
  text-align: center;
  max-width: 200px;
  align-items: flex-end;
  z-index: 2;
  bottom: 60px;
  color: var(--black);
}
.banner .content h2 {
  font-size: 3em;
}

.banner .content .model {
  background-image: url(img/aura2.png);
  width: 100%;
  height: 120vh;
  position: absolute;
  bottom: -400px;
  left: 0;
  background-size: auto 130%;
  background-repeat: no-repeat;
  background-position: top center;
  z-index: 1;
}

/* TIMELINE
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.timeline ul {
  padding: 50px 0;
}

.timeline ul li {
  list-style-type: none;
  position: relative;
  width: 6px;
  margin: 0 auto;
  padding-top: 50px;
  background: rgb(212, 214, 226);
}

.timeline ul li::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgb(212, 214, 226);
  z-index: 1;
}

.timeline ul li > div:first-of-type {
  position: relative;
  bottom: 0;
  width: 500px;
}

.timeline ul li:nth-child(odd) div {
  left: 45px;
}

.timeline ul li:nth-child(even) div {
  left: -540px;
}

/* EFFECTS
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.timeline ul li::after {
  transition: background 0.5s ease-in-out;
}

li:nth-child(1).in-view::after {
  background: var(--color-1);
}

li:nth-child(2).in-view::after {
  background: var(--color-2);
}

li:nth-child(3).in-view::after {
  background: var(--color-3);
}

li:nth-child(4).in-view::after {
  background: var(--color-4);
}

li:nth-child(5).in-view::after {
  background: var(--color-5);
}

li:nth-child(6).in-view::after {
  background: var(--color-6);
}

li:nth-child(7).in-view::after {
  background: var(--color-7);
}

li:nth-child(8).in-view::after {
  background: var(--color-8);
}

.timeline-bottom {
  font-family: Poppins;
}

/* Verbesserte Bewegung des Inhalts */
.timeline ul li > div:first-of-type {
  visibility: hidden;
  opacity: 0;
  transform: translateX(0); /* Ausgangsposition wird dynamisch gesetzt */
  transition: transform 0.6s ease, opacity 0.6s ease, visibility 0.6s;
}

/* Eintrag links (ungerade) */
.timeline ul li:nth-child(odd) > div:first-of-type {
  transform: translateX(200px);
}

/* Eintrag rechts (gerade) */
.timeline ul li:nth-child(even) > div:first-of-type {
  transform: translateX(-200px);
}

/* Wenn sichtbar */
.timeline ul li.in-view > div:first-of-type {
  transform: translateX(0);
  visibility: visible;
  opacity: 1;
}

.timeline-card {
  background-color: #ffffff;
  box-shadow: 0px 1px 22px 4px rgba(0, 0, 0, 0.07);
  border-radius: 20px;
  overflow: hidden;
}

.timeline-top {
  background-color: #46b8e9;
  display: flex;
  padding: 10px;
}

li:nth-child(1) .timeline-top {
  background-color: var(--color-1);
}

li:nth-child(2) .timeline-top {
  background-color: var(--color-2);
}

li:nth-child(3) .timeline-top {
  background-color: var(--color-3);
}

li:nth-child(4) .timeline-top {
  background-color: var(--color-4);
}

li:nth-child(5) .timeline-top {
  background-color: var(--color-5);
}

li:nth-child(6) .timeline-top {
  background-color: var(--color-6);
}
li:nth-child(7) .timeline-top {
  background-color: var(--color-7);
}

li:nth-child(8) .timeline-top {
  background-color: var(--color-8);
}

.number {
  width: 48px;
  height: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.2);
  color: white;
  font-size: 32px;
  font-weight: 600;
  font-family: Poppins;
  border-radius: 6px; /* Optional: leicht abgerundet */
}

.subtitle {
  color: white;
  font-size: 28px;
  font-weight: 600;
  font-family: Poppins;
  margin: auto;
}

.timeline-bottom {
  padding: 10px;
}

.timeline-bottom img {
  width: 300px;
  height: auto;
  display: block;
  margin: auto;

  margin-bottom: 12px;
}

.timeline-bottom p {
  text-align: center;
}

.timeline-bottom img#mlc-foundation {
  width: 230px;
}

/* GENERAL MEDIA QUERIES
–––––––––––––––––––––––––––––––––––––––––––––––––– */

@media screen and (max-width: 900px) {
  .timeline ul li div {
    width: 250px;
  }
  .timeline ul li:nth-child(even) div {
    left: -289px;
    /*250+45-6*/
  }
}

@media screen and (max-width: 600px) {
  .timeline ul li {
    margin-left: 20px;
  }
  .timeline ul li div {
    width: calc(100vw - 91px);
  }
  .timeline ul li:nth-child(even) div {
    left: 45px;
  }
  .timeline ul li:nth-child(even) div::before {
    left: -15px;
    border-width: 8px 16px 8px 0;
    border-color: transparent var(--main-color) transparent transparent;
  }
}

/* EXTRA/CLIP PATH STYLES
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.timeline-clippy ul li::after {
  width: 40px;
  height: 40px;
  border-radius: 0;
}

.timeline-rhombus ul li::after {
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.timeline-rhombus ul li div::before {
  bottom: 12px;
}

.timeline-star ul li::after {
  clip-path: polygon(
    50% 0%,
    61% 35%,
    98% 35%,
    68% 57%,
    79% 91%,
    50% 70%,
    21% 91%,
    32% 57%,
    2% 35%,
    39% 35%
  );
}

.timeline-heptagon ul li::after {
  clip-path: polygon(
    50% 0%,
    90% 20%,
    100% 60%,
    75% 100%,
    25% 100%,
    0% 60%,
    10% 20%
  );
}

.timeline-infinite ul li::after {
  animation: scaleAnimation 2s infinite;
}

@keyframes scaleAnimation {
  0% {
    transform: translateX(-50%) scale(1);
  }
  50% {
    transform: translateX(-50%) scale(1.25);
  }
  100% {
    transform: translateX(-50%) scale(1);
  }
}

/* HERO */

#hero {
  position: relative;
  height: 90vh;
  overflow: hidden; /* <- wichtig, damit Text "verschwindet" */
  display: flex;
  align-items: center;
  padding: 0 480px 0 80px;
}

.hero-text {
  position: relative;
  z-index: 1; /* damit Bild drüber kann */
  max-width: 800px;
}

.hero-image {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  object-fit: cover;
  z-index: 2; /* über dem Text */
  pointer-events: none; /* Bild blockiert keine Klicks */
}

#hero p {
  font-weight: 500;
}

#hero h4 {
  padding-bottom: 15px;
}

#hero h1 {
  color: var(--main-color);
}

#feature {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  flex: wrap;
  z-index: 0;
  box-shadow: inset 1px 1px 12px 7px rgba(0, 0, 0, 0.3);
  background-color: rgb(212, 214, 226);
  gap: 10px;
  padding: 60px 20px; /* optional für Abstand zum Rand */
  box-sizing: border-box;
}

#feature h6 {
  color: rgb(0, 0, 0);
}

#feature .fe-box {
  width: 180px;
  min-height: 170px;
  background-color: white;
  padding: 25px 15px;
  box-shadow: 20px 20px 34px rgba(0, 0, 0, 0.03);
  border: 1px solid #646765;
  border-radius: 4px;
  margin: 15px 5px;
  text-align: center;
}

#feature .fe-box:hover {
  box-shadow: 10px 10px 54px rgba(41, 41, 42, 0.2);
}

#feature .fe-box h6 {
  display: inline-block;
  padding: 9px 8px 6px 8px;
  line-height: 1;
  border-radius: 4px;
  color: #ffffff;
  background-color: var(--main-color);
  white-space: nowrap;
}

#feature .fe-box:nth-child(2) h6 {
  background-color: #dd8ec8;
}

#feature .fe-box:nth-child(3) h6 {
  background-color: #add695;
}

#feature .fe-box:nth-child(4) h6 {
  background-color: #74bce5;
}

#feature .fe-box:nth-child(5) h6 {
  background-color: #cb98eb;
}

#feature .fe-box:nth-child(6) h6 {
  background-color: #cbbda5;
}

#feature .fe-box img {
  width: 100%;
  margin-bottom: 10px;
  min-height: 76px;
  min-width: 110px;
}

#product1 {
  text-align: center;
  margin: 0px 40px;
}

#product1 .pro {
  width: 23%;
  min-width: 250px;
  padding: 10px 12px;
  border: 1px solid #cce7d0;
  border-radius: 25px;
  cursor: pointer;
  box-shadow: 20px 20px 30px rgb(0, 0, 0, 0.06);
  margin: 15px 0;
  transition: 0.2s ease;
  position: relative;
}

/* #product1 .pro-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
} */

#product1 .pro-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

#product1 .pro:hover {
  box-shadow: 20px 20px 30px rgb(0, 0, 0, 0.1);
}

#product1 .pro img {
  width: 100%;
  border-radius: 20px;
}

#product1 .pro .des {
  text-align: start;
  padding: 4px 0;
}

#product1 .pro .des span {
  color: #606063;
  font-size: 14px;
}

#product1 .pro .des h5 {
  padding: 4px 0px;
  color: #1a1a1a;
  font-size: 14px;
}

#product1 .pro .des i {
  color: gold;
}

#product1 .pro .des h4 {
  padding-top: 15px;
  font-size: 22px;
  font-weight: 800;
  color: var(--main-color);
}

#product1 .pro .cart {
  width: 40px;
  height: 40px;
  line-height: 40px;
  border-radius: 50px;
  background-color: #c9effa;
  font-weight: 500;
  color: var(--main-color);
  border: 1px solid #cce7d0;
  position: absolute;
  bottom: 10px;
  right: 10px;
}

#banner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-image: url("img/banner/b2.jpg");
  width: 100%;
  height: 40vh;
  background-size: cover;
  background-position: center;
  box-shadow: inset 1px 1px 12px 7px rgba(0, 0, 0, 0.3);
}

#banner h4 {
  color: #fff;
  font-size: 16px;
}

#banner h2 {
  color: #fff;
  font-size: 30px;
  padding: 10px 0;
}

#banner h2 span {
  color: #ef3636;
}

#banner button:hover {
  background: var(--main-color);
  color: #fff;
}

#newsletter {
  margin-top: 200px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
  background-image: url("img/banner/b14.png");
  background-repeat: no-repeat;
  background-position: 20% 30%;
  background-color: #041e42;
}

#newsletter h4 {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
}

#newsletter p {
  font-size: 14px;
  font-weight: 600;
  color: gray;
  margin-bottom: 14px;
}

#newsletter p span {
  color: orange;
}

#newsletter .form {
  display: flex;
  width: 40%;
}

#newsletter input {
  height: 3.125rem;
  padding: 0 1.25em;
  font-size: 14px;
  width: 100%;
  border: 1px solid transparent;
  border-radius: 4px;
  outline: none;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

#newsletter button {
  background-color: var(--main-color);
  color: #fff;
  white-space: nowrap;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

footer .col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 20px;
}

footer .logo {
  margin-bottom: 30px;
}

footer h4 {
  font-size: 14px;
  padding-bottom: 20px;
}

footer p {
  font-size: 14px;
  margin: 0 0 8px 0;
}

footer a {
  font-size: 13px;
  margin: 0 0 8px 0;
  text-decoration: none;
  color: var(--almost-black);
}

footer .follow {
  margin-top: 20px;
}

footer .follow i {
  color: grey;
  padding-right: 4px;
  cursor: pointer;
}

footer .install .row img {
  border: 1px solid black;
  border-radius: 6px;
}

footer .install img {
  margin: 10px 0 15px 0;
}

footer .follow i:hover,
footer a:hover {
  color: var(--main-color);
}

footer .copyright {
  width: 100%;
  text-align: center;
}

/* ---------------------------------- SHOP.php ----------------------------------- */

@keyframes appear {
  from {
    opacity: 0;
    scale: 0.4;
  }
  to {
    opacity: 1;
    scale: 1;
  }
}

.scroll {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.block {
  border-radius: 10px;
  height: 200px;
  width: 300px;
  margin: 50px;
  box-shadow: 0 0 5px black inset;
  animation: appear 5s linear;
  animation-timeline: view();
  animation-range: entry 0% cover 40%;
}

.block:nth-child(1) {
  background: rgb(214, 43, 43);
}

.block:nth-child(2) {
  background: rgb(89, 214, 43);
}

.block:nth-child(3) {
  background: rgb(36, 39, 219);
}

.block:nth-child(4) {
  background: rgb(214, 43, 143);
}

.block:nth-child(5) {
  background: rgb(214, 188, 43);
}

.block:nth-child(6) {
  background: rgb(43, 194, 214);
}

.block:nth-child(7) {
  background: rgb(26, 138, 67);
}

.block:nth-child(8) {
  background: rgb(43, 194, 214);
}

.block:nth-child(9) {
  background: rgb(214, 43, 43);
}

.block:nth-child(10) {
  background: rgb(89, 214, 43);
}

.block:nth-child(11) {
  background: rgb(36, 39, 219);
}

.block:nth-child(12) {
  background: rgb(214, 43, 143);
}

/* ---------------------------------- SHOP.php ----------------------------------- */

.all-polls {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 96px); /* Platz abzüglich Headerhöhe */
  font-family: Poppins;
  position: relative; /* NEU */
  z-index: 1; /* HEBT ALLE KARTEN ÜBER DEN HINTERGRUND */
}

.poll-cards-container {
  display: grid;
  grid-template-columns: repeat(2, 300px);
  grid-template-rows: repeat(2, 300px);
  gap: 30px;
}

.poll-card {
  width: 300px;
  height: 300px;
  box-shadow: 0px 1px 22px 4px rgba(0, 0, 0, 0.07);
  border-radius: 20px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  transition: box-shadow 0.2s ease;
  background-color: white;
}

.poll-card:hover {
  box-shadow: 0px 1px 22px 4px rgba(0, 0, 0, 0.14);
}

.poll-card span {
  font-size: 110px;
}

.poll-card p {
  font-size: 28px;
  font-weight: 400;
  margin-top: -5px;
}
.poll-cards-container a {
  text-decoration: none;
  color: black;
}

/* ---------------------------------- RESPONSIVE ----------------------------------- */

@media (max-width: 799px) {
  .section-p1 {
    padding: 40px 40px;
  }

  #navbar {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    position: fixed;
    top: 0;
    right: -300px;
    height: 100vh;
    width: 300px;
    background-color: var(--almost-black);
    box-shadow: 0 40px 60px rgba(0, 0, 0, 0.1);
    padding: 80px 0 0 10px;
    transition: 0.3s ease;
  }

  #navbar.active {
    right: 0px;
  }

  #navbar li {
    margin-bottom: 25px;
  }

  #mobile {
    display: flex;
    align-items: center;
  }

  #mobile i {
    color: white;
    font-size: 24px;
    padding-left: 20px;
  }

  #close {
    display: initial;
    position: absolute;
    top: 30px;
    left: 30px;
    color: white;
    font-size: 24px;
  }

  #lg-bag {
    display: none;
  }

  #hero {
    height: 60vh;
    padding: 0 40px;
    background-position: top 10% right 23%;
  }

  #hero .hero-text {
    max-width: 40%;
  }

  #hero .hero-image {
    right: -35px;
  }

  #feature .fe-box {
    margin: 15px 15px;
  }

  #feature {
    display: flex;
    align-items: center;
    gap: 1rem;
  }

  .fe-box {
    display: flex;
    align-items: center;
    gap: 1rem;
  }

  #product .pro-container {
    justify-content: center;
  }

  #product1 .pro {
    margin: 15px;
  }

  #banner {
    height: 20vh;
  }

  #newsletter .form {
    width: 70%;
  }
}

@media (max-width: 477px) {
  .section-p1 {
    padding: 20px;
  }

  #header {
    padding: 10px 30px;
  }

  #hero {
    padding: 0 20px;
    background-position: 60%;
  }

  #hero .hero-text {
    max-width: 100%; /* oder was du willst */
  }

  #hero .hero-image {
    right: -55px; /* z. B. weiter raus */
  }

  #hero h4 {
    font-size: 14px;
    font-weight: 500;
    padding-bottom: 0px;
  }

  #hero h2 {
    font-size: 22px;
    line-height: 48px;
  }

  #hero h1 {
    font-size: 26px;
    line-height: 40px;
    word-break: break-all;
    max-width: 27%;
  }

  #hero p {
    font-size: 14px;
    max-width: 27%;
    word-break: break-all;
  }

  #feature {
    justify-content: space-between;
  }

  #feature .fe-box {
    width: 155px;
    margin: 0 0 15px 0;
  }

  #product1 .pro {
    width: 100%;
  }

  #banner {
    height: 30vh;
  }

  #newsletter {
    padding: 40px 20px;
  }

  #newsletter .form {
    width: 100%;
  }
}
