*{box-sizing:border-box;margin:0;padding:0}
html{background:linear-gradient(to right,#040404,#1f133a,#040404)}

body{font-family:"Manrope",sans-serif;display:flex;flex-direction:column;line-height:1.2;letter-spacing:1px;font-size:14px;min-height:100vh}
::-webkit-scrollbar{width:10px}
::-webkit-scrollbar-track{background:#000}
::-webkit-scrollbar-thumb{background:#fff}
::-webkit-scrollbar-thumb:hover{background:#1f1731}

/* -------------- HEADER ------------- */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(16, 10, 31, 0.95);
  border-bottom: none;
  box-shadow: 0 2px 20px rgba(60, 38, 110, 0.4);
  z-index: 1000;
  height: 70px;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-left {
  display: flex;
  align-items: center;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: white;
  font-weight: 700;
  font-size: 20px;
}

.header-logo img {
  border-radius: 15px;
}

.logo-text {
  font-family: 'Manrope', sans-serif;
  letter-spacing: 1px;
}

.header-nav {
  display: flex;
  gap: 40px;
  align-items: center;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-toggle:hover {
  color: #3c266e;
}

/* -------------- Hero ------------- */
.hero {
  background: linear-gradient(black, #100a1f, black);
  box-shadow: 0px 0px 20px #3c266e;
  transition: 0.3s;
  position: relative;
  padding-top: 120px;
}

.hero .hero-content {
  position: relative;
  max-width: 1200px;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 30px;
  margin: 0 auto;
  color: white;
  padding: 50px 20px 50px 20px;
}
.hero h1 {
  font-size: 60px;
  letter-spacing: 5px;
}
.hero p {
  font-size: 18px;
  max-width: 800px;
  line-height: 1.5;
  max-width: 600px;
  min-height: 55px;
}

.filter {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  gap: 20px;
  -webkit-transition: 0.3s;
  transition: 0.3s;
  margin-top: 40px;
  background-color: black;
  border: 2px solid #3c266e;
  padding: 20px;
  border-radius: 6px;
  -webkit-box-shadow: 0 0 50px #3c266e;
          box-shadow: 0 0 50px #3c266e;
  -webkit-animation: shadowBG 2s ease-in infinite;
          animation: shadowBG 2s ease-in infinite;
}
.filter div {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 10px;
}
.filter:hover {
  -webkit-transform: none !important;
          transform: none !important;
}

select {
  padding: 5px;
  border-radius: 6px;
  border: none;
  width: 100%;
  font-family: inherit;
  min-width: 100px;
}

body[data-theme="light"] select {
  border: none;
  background-color: #fff;
  color: #000;
}

label {
  text-wrap-mode: nowrap;
}

/* -------------- CONTAINER ------------- */
.container-full {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* ------------ CARDS ------------- */
.cards {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr 1fr 1fr;
  margin: 40px 0;
  min-height: 150px;
}

/* Recommended Card Styling */
.recommended-card {
  position: relative;
  border: 2px solid #10b981 !important;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.3) !important;
}

.recommendation-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #10b981;
  color: white;
  padding: 6px 16px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4);
}

.ai-recommendation-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: white;
  padding: 6px 16px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.4);
}

.ai-badge-icon {
  background: white;
  color: #6366f1;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
}

.badge-icon {
  background: white;
  color: #10b981;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: bold;
}

.card {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 15px;
  margin: 10px 0;
  border: 2px solid #3c266e;
  padding: 20px;
  border-radius: 10px;
  background-color: rgb(15, 15, 15);
  color: white;
  max-width: 720px;
  width: 100%;
  -webkit-transition: 0.3s;
  transition: 0.3s;
  opacity: 0;
  -webkit-animation: fadeIn 1s ease-in forwards;
          animation: fadeIn 1s ease-in forwards;
  min-height: 420px;
  height: auto;
  padding: 15px;
  padding-bottom: 0;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}
/* Card Buttons Container */
.card-buttons {
  display: flex;
  gap: 10px;
  margin-top: auto;
  margin-bottom: 20px;
}

/* Risk Warning Above Buttons */
.risk-warning {
  font-size: 11px;
  color: #ccc;
  text-align: center;
  margin-bottom: 10px;
  line-height: 1.3;
}

/* Broker Analyse Link (Links) */
.broker-analyse-link {
  flex: 1;
  padding: 12px 8px;
  text-decoration: none;
  color: white;
  background: linear-gradient(135deg, #16a085, #1abc9c);
  font-weight: bold;
  text-align: center;
  border-radius: 10px;
  -webkit-transition: 0.3s;
  transition: 0.3s;
  cursor: pointer;
  font-size: 13px;
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 2px 8px rgba(22, 160, 133, 0.3);
}



/* Direkter Broker Link (Rechts) */
.card-buttons a:not(.broker-analyse-link) {
  flex: 1;
  padding: 12px 8px;
  text-decoration: none;
  color: white;
  background: linear-gradient(135deg, #8e44ad, #9b59b6);
  font-weight: bold;
  text-align: center;
  border-radius: 10px;
  font-size: 13px;
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 2px 8px rgba(142, 68, 173, 0.3);
  text-transform: none;
}



/* Legacy Support für alte einzelne Links */
.card > a:not(.broker-analyse-link) {
  padding: 10px;
  text-decoration: none;
  color: white;
  background: linear-gradient(135deg, #8e44ad, #9b59b6);
  font-weight: bold;
  text-align: center;
  border-radius: 10px;
  margin-top: 20px;
  margin-top: auto;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 2px 8px rgba(142, 68, 173, 0.3);
}


.card img {
  width: 50px;
  border: 4px solid white;
  aspect-ratio: 1/1;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 50%;
}
.card:hover {
  -webkit-transform: scale(0.99);
          transform: scale(0.99);
}
.card .card-brand {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  gap: 20px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-bottom: 20px;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
}

.card .card-brand::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 15%;
  right: 15%;
  height: 1px;
  background: linear-gradient(to right, transparent, #3c266e, transparent);
  opacity: 0.6;
}

/* Structured card information layout */
.card-info-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 15px;
  margin-bottom: 15px;
  font-size: 14px;
  line-height: 1.4;
}

.card-info-label {
  color: white;
  font-weight: 500;
}

.card-info-value {
  color: #ccc;
  font-weight: 600;
}

/* Rating styling within cards */
.card-rating-value {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.card-rating-score {
  background: linear-gradient(135deg, #16a085, #1abc9c);
  color: white;
  padding: 2px 8px 2px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
}

/* Card rating color coding */
.card-rating-score.rating-excellent {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
}

.card-rating-score.rating-good {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: white;
}

.card-rating-score.rating-poor {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: white;
}

.card-rating-stars {
  display: flex;
  gap: 2px;
}

.card-rating-star {
  color: #ffd700;
  font-size: 14px;
}

/* Hide old individual paragraph styles in favor of grid */
.card p:not(.card-info-value) {
  display: none;
}

.card-title-section {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  flex: 1;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-color);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: none;
  color: white;
  padding: 0;
  border-radius: 0;
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: none;
  border: none;
}

.rating-badge .star {
  color: #fbbf24;
  font-size: 1rem;
}

.rating-badge .rating-text {
  font-weight: 600;
}

.card-rating {
  display: none;
}

.card-rating .rating-stars {
  display: none;
}

.card-rating .star {
  display: none;
}

.card-rating .rating-score {
  display: none;
}

/* Mobile: Bewertungen ausgeblendet */
@media (max-width: 768px) {
  .card-rating .rating-stars {
    display: none;
  }

  .card-rating .rating-score {
    display: none;
  }
}

/* ------------ BUTTON ------------- */
.btn {
  margin: 30px auto;
  border: 2px solid #3c266e;
  padding: 15px 20px;
  border-radius: 10px;
  background-color: rgb(15, 15, 15);
  color: white;
  -webkit-box-shadow: 0px 0px 20px #3c266e;
          box-shadow: 0px 0px 20px #3c266e;
  font-family: inherit;
  font-size: 18px;
  -webkit-transition: 0.3s;
  transition: 0.3s;
  cursor: pointer;
}
.btn:hover {
  -webkit-box-shadow: 0px 0px 50px #3c266e;
          box-shadow: 0px 0px 50px #3c266e;
  -webkit-transform: scale(0.99);
          transform: scale(0.99);
}




/* Broker Vergleich Section */
body[data-theme="light"] .broker-vergleich {
  color: #000;
}

body[data-theme="light"] .broker-vergleich h2 {
  color: #000;
}

body[data-theme="light"] .broker-vergleich p {
  color: #333;
}

body[data-theme="light"] .broker-dropdown select {
  background-color: #fff;
  color: #000;
  border: 2px solid #888;
}

body[data-theme="light"] .broker-dropdown select:hover {
  border-color: #555;
  box-shadow: 0 0 10px #888;
}

body[data-theme="light"] .vergleich-tabelle {
  border: 2px solid #888;
  background-color: #fff;
  box-shadow: 0 0 20px #888;
}

body[data-theme="light"] .vergleich-header {
  background-color: #888;
  color: #fff;
}

body[data-theme="light"] .vergleich-zeile {
  border-bottom: 1px solid #888;
}

body[data-theme="light"] .vergleich-kategorie {
  background-color: #ccc;
  color: #000;
  border-right: 1px solid #888;
}

body[data-theme="light"] .vergleich-broker-header {
  border-right: 1px solid #888;
  color: #000;
}

body[data-theme="light"] .vergleich-wert {
  border-right: 1px solid #888;
  color: #000;
}

/* Vorteile Section */
body[data-theme="light"] .vorteile {
  color: #000;
}

body[data-theme="light"] .vorteile h2 {
  color: #000;
}

body[data-theme="light"] .vorteile p {
  color: #333;
}

body[data-theme="light"] .vorteile .vorteile-grid .vorteile-grid-item {
  color: #000;
}

/* Über uns Section */
body[data-theme="light"] .ueber-uns {
  color: #000;
}

body[data-theme="light"] .ueber-uns h2 {
  color: #000;
}

body[data-theme="light"] .ueber-uns p {
  color: #333;
}

/* Section Divider */
body[data-theme="light"] .section-divider {
  background: linear-gradient(to right, transparent, #888, transparent);
  box-shadow: none;
}

/* Risikohinweis Section */
body[data-theme="light"] div[style*="text-align: center"] h2,
body[data-theme="light"] div[style*="text-align: center"] p {
  color: #000 !important;
}

body[data-theme="light"] footer {
  background-color: #f0f0f0;
  color: #000;
}

body[data-theme="light"] footer .footer-content .footer-content-col * {
  color: #000;
}

/* ------------NAVIGATION LINKS ------------- */
.nav-link {
  color: #fff;
  text-decoration: none;
  padding: 8px 0;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.5px;
  position: relative;
  transition: color 0.2s ease;
}

.nav-link.disabled {
  color: #888;
  cursor: not-allowed;
  position: relative;
}

.nav-link.disabled::before {
  content: "🔒";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 16px;
  color: white;
  opacity: 0.7;
  z-index: 1;
  pointer-events: none;
}

.nav-link:hover:not(.disabled) {
  color: #3c266e;
}

.nav-link.active {
  position: relative;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: #3c266e;
}

/* ------------ SECTION DIVIDER ------------- */
.section-divider {
  height: 2px;
  background: linear-gradient(to right, transparent, #3c266e, transparent);
  margin: 60px auto;
  width: 80%;
  max-width: 800px;
  box-shadow: 0 0 10px #3c266e;
}

/* ------------ VORTEILE ------------- */
.vorteile {
  margin: 80px auto;
}
.vorteile h2 {
  font-size: 20px;
  text-align: center;
  color: white;
  letter-spacing: 5px;
  margin-bottom: 60px;
}
.vorteile p {
  font-size: 20px;
  text-align: center;
}
.vorteile .vorteile-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  justify-items: center;
  gap: 20px;
}
.vorteile .vorteile-grid .vorteile-grid-item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 30px;
  color: white;
  max-width: 200px;
}
.vorteile .vorteile-grid .vorteile-grid-item img {
  -webkit-transition: 0.3s;
  transition: 0.3s;
  width: 70px;
  -webkit-filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(7407%) hue-rotate(5deg) brightness(93%) contrast(122%);
          filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(7407%) hue-rotate(5deg) brightness(93%) contrast(122%);
}



/* ------------ BROKER VERGLEICH ------------- */
.broker-vergleich {
  margin: 80px auto;
  color: white;
  max-width: 1200px;
  padding: 0 20px;
}

.broker-vergleich h2 {
  font-size: 20px;
  text-align: center;
  letter-spacing: 5px;
  margin-bottom: 20px;
}

.broker-vergleich p {
  text-align: center;
  font-size: 16px;
  margin-bottom: 40px;
  color: #ccc;
}

.vergleich-auswahl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.broker-dropdown {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.broker-dropdown label {
  font-weight: bold;
  font-size: 14px;
}

.broker-dropdown select {
  padding: 10px;
  border-radius: 6px;
  border: 2px solid #3c266e;
  background-color: #100a1f;
  color: white;
  font-family: inherit;
  font-size: 14px;
  cursor: pointer;
  transition: 0.3s;
}

.broker-dropdown select:hover {
  border-color: #5a4a8a;
  box-shadow: 0 0 10px #3c266e;
}

.vergleich-tabelle {
  border: 2px solid #3c266e;
  border-radius: 10px;
  background-color: #100a1f;
  box-shadow: 0 0 20px #3c266e;
  overflow-x: auto;
  overflow-y: visible;
  margin-top: 30px;
  width: 100%;
  min-width: 100%;
}

.vergleich-header {
  display: grid;
  grid-template-columns: 200px repeat(3, minmax(180px, 1fr));
  background-color: #3c266e;
  font-weight: bold;
  font-size: 14px;
  min-width: 740px;
}

.vergleich-zeile {
  display: grid;
  grid-template-columns: 200px repeat(3, minmax(180px, 1fr));
  border-bottom: 1px solid #3c266e;
  min-width: 740px;
}

.vergleich-zeile:last-child {
  border-bottom: none;
}

.vergleich-kategorie {
  padding: 15px;
  background-color: #2a1a4a;
  font-weight: bold;
  border-right: 1px solid #3c266e;
  position: sticky;
  left: 0;
  z-index: 2;
}

.vergleich-broker-header {
  padding: 15px;
  text-align: center;
  font-weight: bold;
  border-right: 1px solid #3c266e;
}

.vergleich-broker-header:last-child {
  border-right: none;
}

.vergleich-wert {
  padding: 15px;
  border-right: 1px solid #3c266e;
  font-size: 13px;
  line-height: 1.4;
  word-wrap: break-word;
}

.vergleich-wert:last-child {
  border-right: none;
}

/* ------------ ÜBER UNS ------------- */
.ueber-uns {
  margin: 80px auto;
  color: white;
  text-align: center;
  padding: 0 20px;
}

.ueber-uns h2 {
  font-size: 20px;
  text-align: center;
  letter-spacing: 5px;
  margin-bottom: 20px;
}

.ueber-uns p {
  font-size: 16px;
  line-height: 1.6;
  color: #ccc;
  max-width: 800px;
  margin: 0 auto;
}

/* ------------ FOOTER ------------- */
footer {
  background-color: black;
  margin-top: 80px;
  padding-top: 40px;
}

/* Footer ohne Abstände auf Hauptseite */
body.main-page footer {
  margin-left: -20px;
  margin-right: -20px;
  margin-bottom: -20px;
  padding-left: 20px;
  padding-right: 20px;
  padding-bottom: 20px;
}
footer .footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  justify-items: center;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 40px 20px;
}
footer .footer-content .footer-content-col {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 10px;
}
footer .footer-content .footer-content-col * {
  color: white;
  text-decoration: none;
}
footer .footer-content .footer-content-col h3 {
  margin-bottom: 10px;
}
footer .copyright {
  padding: 20px;
  text-align: center;
  color: white;
}

/* ------------ ANIMATIONS ------------- */
@-webkit-keyframes shadowBG {
  0% {
    -webkit-box-shadow: 0 0 20px #3c266e;
            box-shadow: 0 0 20px #3c266e;
    -webkit-transform: scale(0.99);
            transform: scale(0.99);
  }
  50% {
    -webkit-box-shadow: 0 0 50px #3c266e;
            box-shadow: 0 0 50px #3c266e;
    -webkit-transform: scale(1.01);
            transform: scale(1.01);
  }
  100% {
    -webkit-box-shadow: 0 0 20px #3c266e;
            box-shadow: 0 0 20px #3c266e;
    -webkit-transform: scale(0.99);
            transform: scale(0.99);
  }
}
@keyframes shadowBG {
  0% {
    -webkit-box-shadow: 0 0 20px #3c266e;
            box-shadow: 0 0 20px #3c266e;
    -webkit-transform: scale(0.99);
            transform: scale(0.99);
  }
  50% {
    -webkit-box-shadow: 0 0 50px #3c266e;
            box-shadow: 0 0 50px #3c266e;
    -webkit-transform: scale(1.01);
            transform: scale(1.01);
  }
  100% {
    -webkit-box-shadow: 0 0 20px #3c266e;
            box-shadow: 0 0 20px #3c266e;
    -webkit-transform: scale(0.99);
            transform: scale(0.99);
  }
}
@-webkit-keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Slide-up animation for text */
.slide-up {
  animation: slideUpFromBottom 0.8s ease-out forwards;
  opacity: 0;
  transform: translateY(30px);
}

.slide-up.delay-1 {
  animation-delay: 0.3s;
}

.slide-up.delay-2 {
  animation-delay: 0.6s;
}

@keyframes slideUpFromBottom {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ------------ MEDIA QUERIES ------------- */
@media only screen and (max-width: 1200px) {
  .hero h1 {
    font-size: 40px;
  }
  .hero p {
    font-size: 16px;
  }
  .filter {
    max-width: 450px;
    flex-direction: column;
    width: 100%;
    margin-top: 0;
    transform: none !important;
  }
  .filter div {
    flex-direction: column;
  }
  .cards {
    margin: 0;
  }
  .cards {
    grid-template-columns: 1fr 1fr;
  }
  .vorteile p {
    font-size: 15px;
  }
  .vorteile .vorteile-grid .vorteile-grid-item img {
    width: 60px;
  }
}
@media only screen and (max-width: 992px) {
  footer .footer-content {
    grid-template-columns: 1fr;
    justify-items: start;
    padding: 20px;
    max-width: 720px;
    margin: 0 auto;
    margin-bottom: 50px;
  }
}
@media only screen and (max-width: 768px) {
  body {
    padding-top: 70px;
  }

  .recommendation-badge {
    font-size: 11px;
    padding: 5px 12px;
    top: -10px;
  }

  .badge-icon {
    width: 14px;
    height: 14px;
    font-size: 9px;
  }

  .main-header {
    height: 70px;
  }

  .hero {
    padding-top: 20px;
  }

  .header-container {
    padding: 0 15px;
  }

  .header-logo {
    font-size: 20px;
    gap: 12px;
  }

  .header-logo img {
    width: 40px;
    height: 40px;
  }

  .mobile-menu-toggle {
    display: block;
    font-size: 28px;
    padding: 10px;
  }

  .header-nav {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(10, 5, 23, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid #3c266e;
    flex-direction: column;
    gap: 0;
    padding: 25px;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
  }



  .header-nav.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-link {
    font-size: 14px;
    padding: 15px;
    border-bottom: 1px solid rgba(60, 38, 110, 0.3);
    width: 100%;
    text-align: left;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    font-weight: 400;
  }

  .nav-link:last-child {
    border-bottom: none;
  }

  .nav-link.disabled::before {
    font-size: 18px;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .vorteile {
    max-width: 500px;
  }
  .vorteile p {
    font-size: 15px;
  }
  .vorteile .vorteile-grid {
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    padding: 0 20px;
  }
  .vorteile .vorteile-grid .vorteile-grid-item img {
    width: 50px;
  }

  .vergleich-auswahl {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .vergleich-tabelle {
    font-size: 12px;
    overflow-x: auto;
    border-radius: 0;
    margin: 30px -20px 0 -20px;
    width: calc(100% + 40px);
  }

  .vergleich-header {
    grid-template-columns: 150px repeat(3, 160px);
    min-width: 630px;
  }

  .vergleich-zeile {
    grid-template-columns: 150px repeat(3, 160px);
    min-width: 630px;
  }

  .vergleich-kategorie {
    padding: 12px 8px;
    font-size: 11px;
    position: sticky;
    left: 0;
    z-index: 2;
    background-color: #2a1a4a;
  }

  .vergleich-broker-header {
    padding: 12px 8px;
    font-size: 11px;
  }

  .vergleich-wert {
    padding: 12px 8px;
    font-size: 10px;
    line-height: 1.3;
    word-wrap: break-word;
  }

  /* AI Filter Mobile Anpassung */
  .ai-filter input {
    padding: 10px 50px 10px 10px !important;
    font-size: 16px;
  }

  .clear-filter-btn {
    right: 10px;
    width: 32px;
    height: 32px;
    font-size: 22px;
  }

  word-wrap: break-word;
  }
}
@media only screen and (max-width: 450px) {
  body {
    padding-top: 65px;
  }

  .main-header {
    height: 65px;
  }

  .hero {
    padding-top: 10px;
  }

  .header-container {
    padding: 0 10px;
  }

  .header-logo {
    font-size: 18px;
    gap: 10px;
  }

  .header-logo img {
    width: 35px;
    height: 35px;
  }

  .logo-text {
    letter-spacing: 1px;
  }

  .mobile-menu-toggle {
    font-size: 26px;
    padding: 8px;
  }

  .header-nav {
    top: 65px;
    gap: 0;
    padding: 20px;
  }

  .nav-link {
    font-size: 16px;
    padding: 18px 12px;
    min-height: 55px;
    font-weight: 400;
  }

  #typewriter {
    min-height: 100px;
  }
  .vorteile p {
    font-size: 14px;
  }
  .vorteile .vorteile-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    row-gap: 50px;
    padding: 0 20px;
  }
  .vorteile .vorteile-grid .vorteile-grid-item img {
    width: 30px;
  }

  /* AI Filter für sehr kleine Screens */
  .ai-filter input {
    padding: 10px 55px 10px 10px !important;
    font-size: 15px;
  }

  .clear-filter-btn {
    right: 8px;
    width: 34px;
    height: 34px;
    font-size: 24px;
  }
}/*# sourceMappingURL=styles.css.map */

.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background-color: #f5f5f5;
  border: 1px solid #ddd;
  padding: 16px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 9999;
  flex-wrap: wrap;
}

.cookie-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
  gap: 12px;
}

.cookie-content p {
  margin: 0;
  color: #333;
  flex: 1;
}

.cookie-content a {
  color: #0077cc;
  text-decoration: underline;
}

.cookie-content button {
  background-color: #0077cc;
  color: #fff;
  border: none;
  padding: 10px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.cookie-content button:hover {
  background-color: #005fa3;
}

.hidden {
  display: none;
}

/* ------------ ZURÜCK NACH OBEN BUTTON ------------- */
/* Back to top button styles */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #3c266e, #5a3f8f);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(60, 38, 110, 0.4);
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  z-index: 1000;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: linear-gradient(135deg, #5a3f8f, #7a5fa0);
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(60, 38, 110, 0.6);
}

.back-to-top:active {
  transform: scale(0.95);
}

@media (max-width: 768px) {
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    font-size: 18px;
  }
}

@media (max-width: 600px) {
  .cookie-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-content button {
    width: 100%;
  }
}

#bonus-slide-banner {
  position: fixed;
  top: 20px;
  right: -400px;
  width: 350px;
  background: #100a1f;
  color: white;
  border: 2px solid #3c266e;
  border-radius: 12px;
  padding: 14px 18px;
  box-shadow: 0 0 20px #3c266e;
  z-index: 9999;
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  line-height: 1.5;
  transition: right 0.5s ease;
   cursor: pointer;
}

#bonus-slide-banner.show {
  right: 20px;
}

#bonus-slide-banner p {
  margin: 0;
}

#bonus-banner-close {
  position: absolute;
  top: 4px;
  right: 10px;
  background: none;
  border: none;
  color: white;
  font-size: 16px;
  cursor: pointer;
}

@media (max-width: 480px) {
  #bonus-slide-banner {
    width: 90%;
    right: -100%;
  }

  #bonus-slide-banner.show {
    right: 5%;
  }
}





    /* ------------ AI FILTER STYLES ------------- */
    .ai-filter-container {
      margin: 20px 0;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 20px;
    }

    .ai-filter {
      display: flex;
      align-items: center;
      position: relative;
      width: 80vw;
      max-width: min(80vw, 880px);
    }

    .ai-filter input {
      width: 100%;
      padding: 8px 40px 8px 16px;
      border: 2px solid #3c266e;
      border-radius: 10px;
      background-color: rgba(255, 255, 255, 0.1);
      color: white;
      font-size: 16px;
      font-family: inherit;
      transition: none;
      backdrop-filter: blur(10px);
      box-shadow: 0 4px 20px rgba(60, 38, 110, 0.2);
    }

    .ai-filter input:focus {
      outline: none;
      border-color: #3c266e;
      box-shadow: 0 4px 20px rgba(60, 38, 110, 0.2);
      background-color: rgba(255, 255, 255, 0.1);
      transform: none;
    }

    .ai-filter input::placeholder {
      color: #ccc;
    }

    .clear-filter-btn {
      position: absolute;
      right: 12px;


      background: none;
      border: none;
      color: #ccc;
      font-size: 20px;
      cursor: pointer;
      padding: 4px;
      border-radius: 50%;
      width: 28px;
      height: 28px;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.2s ease;
    }



    .ai-loading {
      text-align: center;
      color: #ccc;
      font-style: italic;
      padding: 20px;
    }

    .ai-recommendations {
      background-color: transparent;


      padding: 30px;
      margin-bottom: 40px;

    }

    .ai-recommendations h2 {
      color: white;
      text-align: center;
      margin-bottom: 25px;
      font-size: 24px;
    }

    .recommendations-list {
      display: flex;
      flex-direction: column;
      gap: 20px;
    }

    .recommendation-item {
      background-color: rgba(255, 255, 255, 0.05);
      border-radius: 8px;
      padding: 20px;

    }

    .recommendation-item h3 {
      color: #ffffff;
      margin-bottom: 10px;
      font-size: 18px;
    }

    .recommendation-item p {
      color: #ccc;
      line-height: 1.6;
      margin: 0;
    }

    @media (max-width: 768px) {
      .ai-filter {
        max-width: 98%;
      }

      .ai-filter input {
        font-size: 16px;
        padding: 10px 10px;
      }

      .ai-recommendations {
        padding: 20px;
      }
    }

    .broker-vergleich h2 {
      text-align: center;
      font-size: 28px;
      margin-bottom: 20px;
    }

    <!-- Zurück nach oben Button -->
    <button id="back-to-top" class="back-to-top" title="Zurück nach oben">
      ⬆
    </button>