:root {
  --accent: #000000;
  --second-accent: #525252;

  --bg: #E0DEFF;
  --fg: #011608;
  --second-bg: #f5f5f5;
  /* vorher 'card' */

  --border-color: rgba(0, 0, 0, 0.1);
  --border-width: 1px;

  --radius: 16px;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);


  --header-blur: blur(9px);
  --header-fill: rgba(255, 255, 255, 0.473);
  --header-radius: 999px;
  --header-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);

  --font-header: 'Segoe UI', sans-serif;
  --font-weight: 600;
  --font-weight-bold: 800;

  --font-size-header: 1.3rem;
  --font-size-logo: 1.6rem;

  --header-padding: 1rem 2rem;
  --header-gap: 2.5rem;
  --header-margin-top: 2rem;


  --menu-bg: rgba(255, 255, 255, 0.8);
  --menu-blur: blur(24px);

}

[data-theme="dark"] {
  --bg: #010316;
  --fg: #E0DEFF;
  --second-bg: #dff0ff10;

  --border-color: #ffffff1a;
  --second-accent: #7ab8ff;

  --header-fill: #02022099;


  --menu-bg: #141414cc;
}






#nova-loader {
  position: fixed;
  inset: 0;
  background: var(--bg);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.progress-track {
  width: 60%;
  max-width: 400px;
  height: 12px;
  background: var(--second-bg);
  border-radius: 999px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.progress-fill {
  width: 0%;
  height: 100%;
  background: var(--accent);
  border-radius: 999px;
  animation: progressFluid 2s ease-in-out forwards;
}

@keyframes progressFluid {
  0% {
    width: 0%;
  }

  100% {
    width: 100%;
  }
}











.fluid-header {
  position: fixed;
  top: 2rem;
  left: 0;
  right: 0;
  margin-inline: auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--header-gap);
  padding: var(--header-padding);

  /* 💡 NEU: Zentrierung */
  width: fit-content;
  max-width: 90%;
  margin-inline: auto;

  background: var(--header-fill);
  backdrop-filter: var(--header-blur);
  border-radius: var(--header-radius);
  box-shadow: var(--header-shadow);
  border: var(--border-width) solid var(--border-color);

  font-family: var(--font-header);
  font-size: var(--font-size-header);
  font-weight: var(--font-weight);
}

.logo-text {
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-logo);
  white-space: nowrap;
}

.fluid-header nav {
  display: flex;
  gap: var(--header-gap);
}

.fluid-header nav a {
  text-decoration: none;
  color: var(--fg);
  transition: opacity 0.2s ease;
}

.fluid-header nav a:hover {
  opacity: 0.6;
}

.fluid-icon-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent);
  color: white;
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.1s ease, background 0.3s ease;
  box-shadow: var(--shadow);
}

.fluid-icon-btn svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: white;
}

.fluid-icon-btn:active {
  transform: scale(0.95);
}

/* Standard-Button (ausgeblendet) */
.menu-toggle {
  display: none;
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 1001;
  background: var(--header-fill);
  backdrop-filter: var(--header-blur);
  padding: 0.6rem;
  border-radius: var(--radius);
  border: var(--border-width) solid var(--border-color);
  box-shadow: var(--shadow);
  color: var(--fg);
  cursor: pointer;
}

.menu-toggle svg {
  width: 1.5rem;
  height: 1.5rem;
  stroke: currentColor;
}

/* Menü Overlay */
.menu-overlay {
  position: fixed;
  inset: 0;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--menu-bg);
  backdrop-filter: var(--menu-blur);
  gap: 2rem;
  z-index: 1000;
}

/* Schließen-Button */
.menu-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--fg);
  cursor: pointer;
}

/* Menü-Links */
.menu-overlay nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.menu-overlay a {
  color: var(--fg);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.3rem;
}

.menu-overlay a:hover {
  opacity: 0.6;
}

/* Responsive Verhalten */
@media (max-width: 900px) {
  .fluid-header {
    display: none !important;
  }

  .menu-toggle {
    display: block;
  }

  body.menu-open .menu-overlay {
    display: flex;
  }

  body.menu-open .menu-toggle {
    display: none;
  }

  .not-hero-left {
    padding-left: 5vw;
    padding-right: 19vw;
    text-align: start;
  }
}



body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: 'Segoe UI', sans-serif;
  transition: background 0.3s, color 0.3s;
  overflow-x: hidden;
}

.hero-section {
  width: 100%;
  height: 70vh;
  min-height: 70vh;
  margin: 0;
  padding: 0;
  background: var(--bg);
  /*background-image: url('assets/background.webp');
  background: linear-gradient(180deg, rgba(224, 222, 255, 0.00) 54.81%, #E0DEFF 100%), url(assets/background.webp) lightgray 50% / cover no-repeat;
  background-size: cover;*/
  background-position: center;
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
  overflow: visible;
  /*
  box-shadow: 0 0 100px 50px rgba(0, 255, 255, 0.5), 0 0 200px 100px rgba(0, 0, 255, 0.3);*/
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  /*
  background: #E0DEFF;*/
  opacity: 0.65;
  pointer-events: none;
  z-index: 1;
}

.hero-section>* {
  position: relative;
  z-index: 2;
}

.hero-section h1 {
  transform: translateY(10vw);
}

.main-content {
  padding: 2rem;
  margin-top: 28vh;
}

header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

a {
  color: inherit;
  text-decoration: inherit;
}

.nova-hr {
  border: none;
  height: 1px;
  background: var(--border-color);
  margin: 3rem 0;
}

.nova-hr-accent {
  border: none;
  height: 2px;
  background: var(--accent);
  margin: 2rem 0;
  border-radius: 999px;
}

.nova-hr-text {
  display: flex;
  align-items: center;
  text-align: center;
  color: var(--fg);
  margin: 2rem 0;
}

.nova-hr-text::before,
.nova-hr-text::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid var(--border-color);
}

.nova-hr-text::before {
  margin-right: 1rem;
}

.nova-hr-text::after {
  margin-left: 1rem;
}

.loader-track {
  width: 60%;
  max-width: 400px;
  height: 12px;
  background: var(--second-bg);
  border-radius: 999px;
  overflow: hidden;
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
  border: var(--border-width) solid var(--border-color);
}

.loader-fill {
  height: 100%;
  width: 0%;
  background: var(--accent);
  border-radius: 999px;
  box-shadow: 0 0 12px var(--accent);
  transition: width 0.4s ease;
}




button,
input[type="color"] {
  cursor: pointer;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.fluid-paragraph {
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 60ch;
}


.hero {
  font-size: 4rem;
  font-weight: bold;
  line-height: 1.1;
}


.nova-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(24px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 2rem;
  box-sizing: border-box;
}

.nova-modal {
  background: var(--second-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: var(--border-width) solid var(--border-color);
  max-height: 90vh;
  /* 👉 Begrenzt die Höhe */
  overflow-y: auto;
  /* 👉 Scrollbar bei Bedarf */
  padding: 2rem;
  position: relative;
  width: 100%;
  max-width: 600px;
  animation: fadeIn 0.3s ease;
  box-sizing: border-box;
}

.modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--fg);
  cursor: pointer;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.96);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.nova-modal-backdrop.show {
  display: flex;
}











.nova-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.nova-card {
  background: var(--second-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: var(--border-width) solid var(--border-color);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.nova-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.card-content h3 {
  margin: 0;
  font-size: 1.3rem;
  color: var(--fg);
}

.card-content p {
  margin: 0;
  color: var(--fg);
  opacity: 0.8;
}


































/* ✨ Wrapper fix: Kein Overflow */
.nova-feature-wrapper {
  width: 100%;
  padding: 4rem 2rem;
  background: var(--bg);
  display: flex;
  justify-content: center;
  box-sizing: border-box;
  overflow-x: hidden;
  /* <- Fix fürs Seitwärtsscrollen */
}

/* ✨ Fokus-Card */
.nova-feature-card {
  display: flex;
  flex-direction: row;
  background: var(--second-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: var(--border-width) solid var(--border-color);
  overflow: hidden;
  max-width: 1200px;
  width: 100%;
  box-sizing: border-box;
}

/* ✨ Bildseite – 1:1 Ratio */
.feature-image {
  flex: 1 1 50%;
  aspect-ratio: 1 / 1;
  max-width: 600px;
}

.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ✨ Contentseite */
.feature-content {
  flex: 1 1 50%;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
  box-sizing: border-box;
}

.feature-content h2 {
  font-size: 2rem;
  font-weight: bold;
  color: var(--fg);
  margin: 0;
}

.feature-content p {
  color: var(--fg);
  opacity: 0.85;
  line-height: 1.6;
}

.feature-content .fluid-btn {
  background: var(--accent);
  border: none;
  color: white;
  padding: 1rem 2rem;
  border-radius: var(--radius);
  font-size: 1rem;
  transition: transform 0.1s ease, background 0.3s;
  border: var(--border-width) solid var(--border-color);
}

/* ✨ Responsive */
@media (max-width: 900px) {
  .nova-feature-card {
    flex-direction: column;
  }

  .feature-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    max-width: 100%;
  }

  .feature-content {
    text-align: center;
    align-items: center;
  }
}






































.section-color {
  background: var(--second-bg);
  padding: 4rem 2rem;
  border-radius: var(--radius);
}

.section-gradient {
  background: linear-gradient(135deg, var(--accent), var(--second-accent));
  padding: 4rem 2rem;
  color: white;
  border-radius: var(--radius);
}

.section-image {
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--second-bg);
  border-radius: var(--radius);
  overflow: hidden;
}

.section-image img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: var(--border-width) solid var(--border-color);
}



.section-video {
  padding: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--second-bg);
  border-radius: var(--radius);
  overflow: hidden;
}

.section-video video {
  max-width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}




.fluid-btn {
  background: var(--accent);
  border: none;
  color: white;
  padding: 1rem 2rem;
  border-radius: var(--radius);
  font-size: 1rem;
  transition: transform 0.1s ease, background 0.3s;
  border: var(--border-width) solid var(--border-color);
  margin-bottom: 2rem;
}

.fluid-btn:active {
  transform: scale(0.95);
}

.fluid-btn-secondary {
  background: var(--second-bg);
  border: none;
  color: var(--fg);
  padding: 1rem 2rem;
  border-radius: var(--radius);
  font-size: 1rem;
  transition: transform 0.1s ease, background 0.3s;
  border: var(--border-width) solid var(--border-color);
}

.fluid-btn-secondary:active {
  transform: scale(0.95);
}

.card {
  background: var(--second-bg);
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: var(--border-width) solid var(--border-color);
}

.logo-img {
  height: 2.2rem;
  width: auto;
  display: block;
  object-fit: contain;
  margin-right: 0.5rem;
}

.hero-bottom-svg {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 60%);
  max-width: min(98vw, 1200px);
  width: 100%;
  height: auto;
  filter: drop-shadow(0 16px 64px #3481E5);
  pointer-events: none;
  z-index: 2;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  box-sizing: border-box;
}

@media (max-width: 600px) {
  .hero-bottom-svg {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    transform: translate(-50%, 30%);
  }

  .main-content {
    margin-top: 14vh;
  }
}



















.not-hero {
  padding-left: 10vw;
  padding-right: 9vw;
  text-align: center;
}

h1 {
  font-size: 4rem;
  margin-bottom: 1rem;
  color: var(--fg);
}

.highlight {
  background: linear-gradient(95deg, #3E8CF8 33.87%, #58BADB 56.86%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 4rem;
  margin-bottom: 1rem;
}


img {
  width: 100%;
  height: auto;
  object-fit: cover;

  user-select: none;
  pointer-events: none;
  -webkit-user-drag: none;
}


.sidebar-section {
  height: 100vh;
  padding: none;
  margin: none;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  align-content: flex-start;
  flex-wrap: nowrap;
}

.sidebar-section h1 {
  transform: translateX(5vw);
}


.sidebar-img {
  width: auto;
  height: 75vh;
  object-fit: cover;
  filter: drop-shadow(0 16px 64px #3481E5);
  border: #ffffff44 1px solid;
  border-radius: 9px 0 0 9px;

}

.right {
  display: flex;
  flex-direction: column;
  align-items: end;
  justify-content: end;
}

.center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.not-hero-left {
  padding-left: 9vw;
  padding-right: 10vw;
  text-align: start;
}






















/* CUSTOM SCROLLBAR CSS*/

body {
  --sb-track-color: #ffffff00;
  --sb-thumb-color: #ffffff2c;
  --sb-size: 7px;
}

body::-webkit-scrollbar {
  width: var(--sb-size);
}

body::-webkit-scrollbar-track {
  background: var(--sb-track-color);
  border-radius: 15px;
}

body::-webkit-scrollbar-thumb {
  background: var(--sb-thumb-color);
  border-radius: 15px;
}

@supports not selector(::-webkit-scrollbar) {
  body {
    scrollbar-color: var(--sb-thumb-color) var(--sb-track-color);
  }
}




















/* ... existing CSS ... */



/* Remove or comment out these if they were specific to the old layout and no longer apply */
/*


.right {
  display: flex;
  flex-direction: column;
  align-items: end;
  justify-content: end;
  height: 100vh;
}

.center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
*/