  :root {
    --gold: #f7f7f7;      
    --text: #e6e6e6;
    --muted: #b8b5b5;
    --bg: #05070C;
    --header-bg: rgba(4, 8, 14, 0.981);
    --card-bg: rgba(0, 0, 0, 0.671);
    --btn-primary-bg: rgba(0, 45, 95, 0.171);
    --btn-primary-color: #f7f7f7;
    --btn-hover-bg: #065e72;
    --logo: #c0c407;
    --bg-image: url('/media/thoughts/images/thought.png');
}
  

:root[data-theme="blue"] {
    --bg: #05070C;
    --text: #e6e6e6;
    --gold: #D6E7F4;
    --logo: #6F8EAD;

    --bg-image: url('/static/img/backgrounds/xiVgb.jpg');
}

:root[data-theme="purple"] {
    --bg: #05070C;
    --text: #e6e6e6;
    --gold: #F2E9CF;
    --logo: #D4D2C9;
}

:root[data-theme="orange"] {
    --bg: #05070C;
    --text: #F7EFE7;
    --gold: #b4b8bd;
    --logo: #0d95ad;
}

:root[data-theme="night"] {
    --bg: #05070C;
    --text: #B8BBBB;
    --gold: #8A96A8;
    --logo: #C7CDD6;

    --bg-image: url('/media/thoughts/images/thought.png');
}

/* ==================== BODY & HINTERGRUND ==================== */

body {
    position: relative;
    min-height: 100vh;
    color: var(--text);
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    z-index: 0;
}

/* Hintergrundbild über Pseudo-Element */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image: var(--bg-image);
    background-position: center center;
    background-size: cover;
    background-attachment: fixed;
    opacity: 0.95;
    z-index: -2;
    transition: opacity 1.2s ease-in-out;
}

/* Nacht etwas dunkler / intensiver */
body[data-time="night"]::before {
    opacity: 0.88;
}


/* Overlay / Fade */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0.75) 30%,
    rgba(0, 0, 0, 0.65) 60%,
    rgba(0, 0, 0, 0.40) 100%
);
  z-index: -1;           /* zwischen Bild und Content */
}

a {
    color: var(--text);
    text-decoration: none; /* Entfernt die Unterstreichung */
    
    
}

a:visited {
     color: var(--text);
    text-decoration: none; /* Entfernt die Unterstreichung */
    
   
}

a:hover {
     color: var(--gold);
    text-decoration: none; /* Entfernt die Unterstreichung */
    font-weight:400;
   
}

a:active {
    color: rgb(39, 39, 38);
    text-decoration: none; /* Entfernt die Unterstreichung */
    
   
}



/* Mobile Anpassung */
@media (max-width: 768px) {
    .top-nav {
        gap: 1rem;
        font-size: 0.85rem;  /* kleinerer Text für mobile */
        flex-wrap: wrap;     /* falls die Links sonst brechen */
    }
}
/* Allgemeine Typografie für Überschriften */
h1, h2, h3, h4, h5, h6 {
    margin: 0.5em 0; /* Einheitlicher Abstand nach oben und unten */
    line-height: 1.4; /* Angenehme Lesbarkeit */
    font-weight: 300; /* Leicht fett, aber nicht zu dominant */
   
}
h1 {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 15px;
    color: var(--gold);
}
h3 {
    font-size: 1.0rem;
    font-weight: 400;
    margin-bottom: 10px;
    padding:10px;
    color: var(--gold);
    background: rgba(0, 45, 95, 0.171);
    border: 1px solid rgba(0, 44, 95, 0.527);
}
h2 {
    position: relative; /* Ermöglicht Nutzung von ::after */
  display: inline-block; /* Option für Breite passend zum Text */
  font-size: 1.0em; /* Schriftgröße der H1 */
  font-weight:400;
  margin-bottom: 1rem; /* Platz nach der Überschrift */
    color: var(--gold);
  text-align: center;
}

.d-flex.align-items-center {
  display: flex;
  align-items: center;
  gap: 0.25rem; /* enger Abstand zwischen Buttons und Burger */
}

.small-btn {
  padding: 0.3rem 0.8rem;
  
  border-radius: 0.45rem;
  color: var(--text);
 background: rgba(0, 45, 95, 0.171);
    border: 1px solid rgba(0, 44, 95, 0.527);
  white-space: nowrap;
  cursor: pointer;
}

.small-btn:hover {
 background: rgba(0, 45, 95, 0.171);
    border: 1px solid rgba(0, 44, 95, 0.527);
   color: var(--gold);
}

/* Mobil kompakt */
@media (max-width: 768px) {
  .d-flex.align-items-center {
    gap: 0.25rem;
  }

  .small-btn {
   
    padding: 0.15rem 0.35rem;
  }
}
p {
  font-size: 1.0em;
  font-weight:500;
  line-height: 1.5; 
}
.alert p {
  margin-bottom: 0.6em; /* Abstand zwischen Absätzen */
  line-height: 1.5;      /* Abstand innerhalb des Absatzes */
}

.material-symbols-outlined {
  color: var(--gold) !important;
}


/* ==================== HERO OPTIMIERT ==================== */
.hero {
  position: relative;                  /* für z-index der Pseudo-Elemente */
  display: flex;
  flex-direction: column;
  justify-content: center;             /* vertikal zentriert */
  align-items: center;                 /* horizontal zentriert */
  height: calc(100vh - var(--header-height, 80px)); /* berücksichtigt fixierten Header */
  padding: 0;
  overflow: hidden;
}

/* Hintergrundbild */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  
  opacity: 0.75;
  z-index: 0;
}

/* Overlay Fade



.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(17,24,39,0.95) 20%,
    rgba(17,24,39,0.85) 50%,
    rgba(17,24,39,0.65) 60%,
    rgba(17,24,39,0.3) 100%
  );
  z-index: 1;

}

/* Hero Content */
.hero-content {
  position: relative;  /* über Pseudo-Elementen */
  z-index: 2;
  width: 100%;
  max-width: 1140px;
  margin: 0;
  padding: 0 15px;
  text-align: left;
}
.engine-support {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    opacity: 0.75;
}

.support-label {
    font-size: 0.75rem;
    margin-right: 8px;
    color: var(--muted);
}

.support-link {
    font-size: 0.85rem;
    text-decoration: none;
    color: var(--text);
    padding: 6px 10px;
    border-radius: 8px;
    background: rgba(255,255,255,0.05);
    transition: 0.2s ease;
}

.support-link:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-1px);
}
/* Grid */
.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.6fr;
  gap: 50px;
  align-items: center;
}
/* Spacer nur Desktop */
.hero-spacer {
  height: 150px; /* Höhe des Abstands oben */
  display: block;
}

@media (max-width: 1024px) {
  .hero-spacer {
    display: none; /* auf Tablet/Mobil ausblenden */
  }
}
@media (max-width: 768px) {
  .hero {
    height: auto;  /* flexibles Hero auf Mobile */
    padding-top: calc(var(--header-height, 60px) + 10px);
    padding-bottom: 20px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }
  .hero-content {
    text-align: center;
  }
}

/* Hero Left */
.hero-left {
  max-width: 580px;
  margin: 0 auto;
}

/* Badge */
.hero-badge {
  display: inline-block;
  color: var(--gold);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 1.2px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

/* Headline & Text */
.hero h1 {
  font-size: clamp(2.1rem, 7vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: -0.5px;
  margin: 0 0 10px 0;
  color: var(--text);
}

.hero p {
  font-size: 1.02rem;
  line-height: 1.5;
  margin: 0 0 20px 0;
  color: var(--text);
}

/* Buttons */
.hero-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.hero .btn-primary {
  
  color: var(--text);
 background: rgba(0, 45, 95, 0.171);
    border: 1px solid rgba(0, 44, 95, 0.527);
}

.hero .btn-primary:hover {
  color: var(--text);
 background: rgba(0, 45, 95, 0.171);
    border: 1px solid rgba(0, 44, 95, 0.527);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  
}

.hero .btn-outline {
  background: rgba(172, 21, 66, 0.247);
  color: var(--gold);
    border: 1px solid rgba(214, 6, 51, 0.274);
}

.hero .btn-outline:hover {
background: rgba(53, 1, 12, 0.527);
  transform: translateY(-2px);
   color: var(--gold);
}

/* Mobile Buttons */
@media (max-width: 768px) {
  .hero-buttons {
    justify-content: center;
    gap: 10px;
  }
  .hero .btn {
    padding: 10px 20px;
    min-width: 120px;
    font-size: 0.95rem;
  }
}
 /* NAVBAR UPGRADE */
.sailix-nav {
  position: fixed; /* fixiert */
  
  left: 0;
  width: 100%;
  z-index: 1000;
  pointer-events: none; /* wichtig für spacing trick */
}

/* INNER WRAPPER */
.sailix-nav .container {
  pointer-events: all;
   
   border: 1px solid rgba(0, 44, 95, 0.527);
 background: rgba(5, 5, 7, 0.881);
 
  padding: 12px 15px;

 
}
.header-social{
    display:flex;
    align-items:center;
    gap:10px;
}

.header-social a{
    display:flex;
    align-items:center;
    justify-content:center;

    width:24px;
    height:24px;

    border-radius:50%;
    color:var(--text);
    text-decoration:none;

    transition:.2s;
}

.header-social a:hover{
    color:var(--gold);
    background:rgba(255,255,255,.08);
    transform:translateY(-2px);
}
/* MENU STYLE */
.sailix-menu .nav-link {
  font-size: 0.85rem;
 color: var(--text);
  transition: 0.2s;
}

.sailix-menu .nav-link:hover {
  color: var(--gold);
}




/* LOGIN BUTTON CLEANER */
.login-btn {
   background: rgba(1, 66, 141, 0.301);
    border: 1px solid rgba(0, 44, 95, 0.527);
 margin-bottom:4px;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 0.8rem;
}

.login-btn:hover {
 background: rgba(1, 53, 112, 0.301);
    border: 1px solid rgba(0, 44, 95, 0.527);
  color: white;
}


/* CONTENT BOX */
.content-box {
  background: var(--card-bg);

  border: 1px solid var(--card-bg);
  padding: 50px 60px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  align-items: left !important;
  text-align:left;
}

/* LEFT */
.content-label {
  font-size: 0.75rem;
  letter-spacing: 1px;
  color: var(--muted);
  display: block;
  
}

.content-left h2 {
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 1.2;
  color: var(--muted);
}

/* CENTER */
.content-middle {
  border-left: 1px solid var(--header-bg);
  padding-left: 30px;
}

.content-middle ul {
  list-style: none;
  padding: 0;
  margin: 0 0 15px;
}

.content-middle li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 18px;
}

.content-middle li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--muted);
}

.content-strong,strong {
  font-weight: 700;
  color: var(--logo);
}

/* RIGHT */
.content-right {
  border-left: 1px solid var(--header-bg);
  padding-left: 30px;
  position: relative;
}

.quote-mark {
  font-size: 2rem;
  color: var(--logo);
  line-height: 1;         
  display: inline-block;   
  vertical-align: top;     /* oder middle, je nach gewünschter Ausrichtung */
}

.content-right p {
  font-size: 0.95rem;
  color: var(--muted);
}

.signature {
  display: block;
  margin-top: 15px;
 
  color: var(--logo);
  font-size: 1.2rem;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .content-box {
    grid-template-columns: 1fr;
    padding: 30px;
  }

  .content-middle,
  .content-right {
    border-left: none;
    padding-left: 0;
    margin-top: 20px;
  }
  
}

.container {
  max-width: 1140px; 
    padding-left: 5px;
    padding-right: 5px;
    
   
}
:root {
  --header-offset: 0px;
  --header-real-height: 0px;
}

.header-wrap {
  position: fixed;
  top: var(--header-offset);
  left: 0;
  width: 100%;
  z-index: 1000;
  
}

body {
  padding-top: calc(var(--header-real-height) + var(--header-offset));
  transition: padding-top 0.2s ease; 
}
body.home {
  padding-top: 0;
}



/* NAVBAR */
.sailix-nav {
  padding: 0;
}

.logo-circle {
  font-size:1.2rem !important;
  color: var(--text);
}
.logo-text {
  font-size:1.2rem !important;
  color: var(--text)!important;
}




/* CARD BASE */

.cards-grid.clean {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.s-card.v3 {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #eee;
  border: 1px solid #1d1f25;
  display: flex;
  flex-direction: column;
  height: 320px;

  transition: 0.3s ease;
}

/* TOP CONTENT */
.card-top {
  padding: 20px;
}

.card-top h5 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 8px;
}

.card-top p {
  font-size: 0.85rem;
  color: var(--muted);
}

/* ICON */
.icon {
  font-size: 22px;
  color: var(--gold);
}

/* IMAGE AREA */
.card-image {
  position: relative;
  flex: 1;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* FADE EFFECT (wichtig!) */
.card-image::after {
  content: "";
  position: absolute;
  inset: 0;

  background: linear-gradient(
    to bottom,
    rgba(255,255,255,1) 0%,
    rgba(255,255,255,0.85) 35%,
    rgba(255,255,255,0) 70%
  );
}

/* HOVER */
.s-card.v3 {
  box-shadow: none;
}

.s-card.v3:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.04);
   color: var(--gold);
}

@media (max-width: 768px) {

  /* HEADER / NAV */
 

  .header-wrap {
    height: 100px;
    border-radius: 0 !important;
    
  }

  


  /* CONTENT BOX */
  .content-box {
    grid-template-columns: 1fr;
    padding: 25px;
    gap: 20px;
  }

  .content-middle,
  .content-right {
    border-left: none;
    padding-left: 0;
  }

  /* CARDS */
  .cards-grid.clean {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .s-card.v3 {
    height: auto;
  }

  .card-top {
    padding: 18px;
  }

  .card-image {
    height: 180px;
  }

  /* TYPO FEINSCHLIFF */
  .card-top h5 {
    font-size: 1rem;
  }

  .card-top p {
    font-size: 0.8rem;
  }
} 

.footer-stripe {
  width: 100%;
  background: var(--bg);
 color: var(--text);
  display: flex;
  justify-content: space-between;
  padding: 12px 20px;       /* Abstand innen */
  font-size: 0.85rem;
  box-sizing: border-box;
  border-bottom:1px solid rgb(39, 39, 41);
}

.footer-stripe a {
  color: #d6d6d6;
  text-decoration: none;
  margin-right: 15px;
}

.footer-stripe a:hover {
  text-decoration: underline;
}

.footer-left {
  display: flex;
  gap: 15px;
}

.footer-right {
  text-align: right;
}
/* ==================== MOBILE HEADER - NUR BORDER-RADIUS WEG ==================== */
@media (max-width: 768px) {

  .sailix-nav .container {
    border-radius: 0 !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;

  }

  /* Falls der Audio-Player auch runde Ecken hat */
  .audio-bar .container {
    border-radius: 0 !important;
  }
}



@media (max-width: 768px) {



  body.home {
    padding-top: calc(var(--header-real-height, 0px));
  }

}
