/* KRITISCHE FARBKONTRAST-REGELN - GESETZLICH VERBOTENE KOMBINATIONEN VERHINDERN */

/* Türkis auf Weiß ist GESETZLICH VERBOTEN - Automatische Ersetzung */
.btn-outline-primary,
.dv-btn-outline,
.btn-outline-info,
.text-info,
.text-primary {
    /* Verhindere Türkis auf weißem Hintergrund */
    color: var(--secondary) !important; /* Dunkelblau statt Türkis */
    border-color: var(--secondary) !important; /* Dunkelblau statt Türkis */
}

/* Türkis-Buttons auf weißem Hintergrund automatisch zu Dunkelblau ändern */
.btn-primary,
.dv-btn-primary,
.btn-info {
    background-color: var(--secondary) !important; /* Dunkelblau statt Türkis */
    border-color: var(--secondary) !important;
    color: white !important;
}

/* Türkis-Links auf weißem Hintergrund zu Dunkelblau ändern */
a.text-primary,
a.text-info {
    color: var(--secondary) !important; /* Dunkelblau statt Türkis */
}

/* Türkis-Borders auf weißem Hintergrund zu Dunkelblau ändern */
.border-primary,
.border-info {
    border-color: var(--secondary) !important; /* Dunkelblau statt Türkis */
}

/* Hover-Effekte für Türkis-Elemente zu Dunkelblau ändern */
.btn-outline-primary:hover,
.dv-btn-outline:hover,
.btn-outline-info:hover {
    background-color: var(--secondary) !important; /* Dunkelblau statt Türkis */
    border-color: var(--secondary) !important;
    color: white !important;
}

/* Spezielle Regel für Türkis-Icons auf weißem Hintergrund */
.bi,
.fas,
.far,
.fab {
    color: var(--secondary) !important; /* Dunkelblau statt Türkis auf weißem Hintergrund */
}

/* Türkis-Hintergründe nur auf dunklen Untergründen erlauben */
.bg-primary,
.bg-info {
    background-color: var(--secondary) !important; /* Dunkelblau statt Türkis */
}

/* CSS-Variablen für sichere Farben */
:root {
    --safe-primary: var(--secondary); /* Dunkelblau statt Türkis für besseren Kontrast */
    --safe-accent: var(--secondary); /* Dunkelblau statt Türkis für besseren Kontrast */
}

/* Automatische Kontrast-Korrektur für alle Türkis-Elemente */
[style*="#0CC0DF"],
[style*="rgb(12, 192, 223)"],
[style*="rgba(12, 192, 223"] {
    color: var(--secondary) !important; /* Automatisch zu Dunkelblau ändern */
}

/* Erlaubte Türkis-Verwendung nur auf dunklen Hintergründen */
.dark-bg .text-primary,
.dark-bg .text-info,
.dark-bg .btn-primary,
.dark-bg .btn-info {
    color: var(--primary) !important; /* Türkis nur auf dunklen Hintergründen */
}

/* Globale Farbkontrast-Überprüfung */
* {
    /* Verhindere automatisch Türkis auf weißem Hintergrund */
    color: inherit;
}

/* Spezielle Regel für Landingpage-Buttons */
.dv-btn-outline {
    color: var(--secondary) !important; /* Dunkelblau statt Türkis */
    border-color: var(--secondary) !important;
}

.dv-btn-outline:hover {
    background-color: var(--secondary) !important;
    color: white !important;
}

/* Türkis nur in erlaubten Kontexten */
.navbar-dark .navbar-nav .nav-link,
.dark-section .text-primary {
    color: var(--primary) !important; /* Türkis nur auf dunklen Hintergründen */
}

/* CSS-Variablen für Firmenfarben mit Kontrast-Berücksichtigung */
:root {
    --primary: #0CC0DF; /* Türkis - nur auf dunklen Hintergründen */
    --secondary: #001373; /* Dunkelblau - sicher auf allen Hintergründen */
    --accent: #001373; /* Dunkelblau als Akzentfarbe */
    --white: #FFFFFF;
    --dark: #001373;
}

/* Automatische Kontrast-Korrektur für alle neuen Elemente */
.text-primary,
.btn-primary,
.border-primary {
    color: var(--secondary) !important; /* Standardmäßig Dunkelblau für besseren Kontrast */
    border-color: var(--secondary) !important;
    background-color: var(--secondary) !important;
}

/* Türkis nur explizit in erlaubten Kontexten */
.dark-bg .text-primary,
.dark-bg .btn-primary {
    color: var(--primary) !important; /* Türkis nur auf dunklen Hintergründen */
    background-color: var(--primary) !important;
}

/* Globale Bootstrap-Variablen für Farben und Schriftarten */
:root {
  --bs-primary: #0CC0DF;
  --bs-secondary: #001373;
  --bs-info: #CADCEC;
  --bs-body-font-family: 'Verdana', Geneva, sans-serif;
  --bs-body-color: #001373;
  --bs-heading-font-family: 'Helvetica', Arial, sans-serif;
  --primary: #0CC0DF;
  --secondary: #001373;
  --accent: #CADCEC;
  --white: #fff;
  --light-bg: #f8f9fa;
  --heading-font: 'Helvetica', Arial, sans-serif;
  --body-font: 'Verdana', Geneva, sans-serif;
}

/* Hinweis: Diese Variablen sorgen dafür, dass auf allen Seiten und Geräten die gleichen Farben und Schriftarten verwendet werden. */

body {
  font-family: Verdana, Geneva, sans-serif;
  background: var(--light-bg);
  color: var(--secondary);
}

h1, h2, h3, h4, h5, h6 {
  font-family: Helvetica, Arial, sans-serif;
  color: var(--secondary);
}

.btn-primary, .fancy-btn {
  background: linear-gradient(90deg, #06768A, #001373);
  border: none;
  color: #fff;
  font-weight: bold;
  box-shadow: 0 2px 8px rgba(12,192,223,0.15);
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.btn-primary:hover, .fancy-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 24px rgba(0,19,115,0.18);
  background: linear-gradient(90deg, #001373, #06768A);
}
.btn-outline-primary {
  color: #06768A !important;
  border: 2px solid #06768A !important;
  background: #fff !important;
  font-weight: bold;
}
.btn-outline-primary:hover {
  background: #06768A !important;
  color: #fff !important;
  border-color: #06768A !important;
}
.btn-outline-secondary {
  color: #001373 !important;
  border: 2px solid #001373 !important;
  background: #fff !important;
  font-weight: bold;
}
.btn-outline-secondary:hover {
  background: #001373 !important;
  color: #fff !important;
  border-color: #001373 !important;
}

.card {
  border-radius: 1rem;
  box-shadow: 0 2px 8px rgba(0, 192, 223, 0.08);
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 8px 32px rgba(0, 19, 115, 0.15);
  transform: translateY(-4px) scale(1.01);
}

.navbar {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  box-shadow: 0 2px 8px rgba(0, 192, 223, 0.08);
  z-index: 1100;
}

.navbar-nav .nav-link {
  color: var(--white) !important;
  font-size: 1.1rem;
  font-weight: 700;
  margin-left: 0.7rem;
  margin-right: 0.7rem;
  position: relative;
  transition: color 0.2s;
  text-shadow: 0 2px 8px rgba(0,19,115,0.10);
}

.navbar-nav .nav-link:hover, .navbar-nav .nav-link:focus {
  color: var(--accent) !important;
}

.navbar-nav .nav-link::after {
  content: '';
  display: block;
  width: 0;
  height: 3px;
  background: var(--accent);
  transition: width 0.3s;
  border-radius: 2px;
  margin: 0 auto;
}

.navbar-nav .nav-link:hover::after, .navbar-nav .nav-link:focus::after {
  width: 80%;
}

.navbar-brand {
  color: var(--white) !important;
  font-weight: bold;
  letter-spacing: 1px;
  font-size: 1.5rem;
  text-shadow: 0 2px 8px rgba(0,19,115,0.10);
}

.dropdown-menu {
  background: var(--white);
  border-radius: 0.5rem;
  box-shadow: 0 4px 16px rgba(0,19,115,0.10);
  min-width: 200px;
  z-index: 2000 !important;
  border: 1.5px solid #001373;
  position: absolute !important;
}

.dropdown-item {
  color: var(--secondary);
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
}

.dropdown-item:hover, .dropdown-item:focus {
  background: var(--accent);
  color: var(--secondary);
}

.navbar-toggler {
  border: none;
  background: var(--accent);
  border-radius: 6px;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(0,19,115,0.7)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.footer {
  background: var(--secondary);
  color: var(--white);
}

::-webkit-scrollbar {
  width: 10px;
  background: var(--accent);
}
::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 5px;
}

.icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  font-size: 1.2rem;
  box-shadow: 0 2px 8px rgba(0,19,115,0.08);
}
.bg-accent { background: var(--accent); }
.bg-primary { background: var(--primary); }
.bg-secondary { background: var(--secondary); }
.bg-success { background: #28a745; }

.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  font-size: 1.3rem;
  margin-right: 0.7rem;
  box-shadow: 0 2px 8px rgba(12,192,223,0.10);
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.icon-badge:hover {
  transform: scale(1.12) rotate(-6deg);
  box-shadow: 0 6px 24px rgba(0,19,115,0.18);
  background: var(--accent);
}

.feature-list li {
  display: flex;
  align-items: center;
  margin-bottom: 0.7rem;
  font-size: 1.08rem;
}

.layout1-hero {
  margin-top: 3rem;
  margin-bottom: 3rem;
}
.layout1-card {
  border-radius: 1.2rem;
  box-shadow: 0 2px 16px rgba(0,19,115,0.07);
  background: #fff;
}
.layout1-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--secondary);
}
.layout1-lead {
  font-size: 1.18rem;
  color: var(--secondary);
}
.layout1-btn {
  font-size: 1.08rem;
  border-radius: 2rem;
  min-width: 140px;
}
.layout1-section {
  color: var(--secondary);
  font-weight: 600;
}
.layout1-dot {
  display: inline-block;
  width: 1.1em;
  height: 1.1em;
  border-radius: 50%;
  margin-right: 0.7em;
  vertical-align: middle;
  box-shadow: 0 1px 4px rgba(12,192,223,0.10);
}
.layout1-info-box {
  background: #f8f9fa;
  border-radius: 1rem;
  box-shadow: 0 1px 8px rgba(0,19,115,0.04);
  margin-bottom: 1.5rem;
}
.layout1-list {
  font-size: 1.08rem;
  padding-left: 0;
}
@media (max-width: 991px) {
  .layout1-hero .col-lg-8, .layout1-hero .col-lg-10 {
    max-width: 100%;
  }
}

.layout2-hero {
  margin-top: 3rem;
  margin-bottom: 3rem;
}
.layout2-title {
  font-size: 2.3rem;
  font-weight: 700;
  color: var(--secondary);
  line-height: 1.2;
}
.layout2-gradient {
  background: linear-gradient(90deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}
.layout2-lead {
  font-size: 1.15rem;
  color: var(--secondary);
}
.layout2-btn {
  font-size: 1.08rem;
  border-radius: 2rem;
  min-width: 140px;
}
.layout2-hero-img {
  max-width: 320px;
  width: 100%;
  border-radius: 1.5rem;
  box-shadow: 0 4px 24px rgba(12,192,223,0.10);
  background: var(--accent);
  padding: 1.2rem;
}
.layout2-feature-card {
  border-radius: 1.2rem;
  box-shadow: 0 2px 16px rgba(0,19,115,0.07);
  background: #fff;
  transition: transform 0.18s, box-shadow 0.18s;
}
.layout2-feature-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 8px 32px rgba(0,19,115,0.13);
}
.layout2-feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 50%;
  font-size: 1.7rem;
  color: var(--white);
  box-shadow: 0 2px 8px rgba(12,192,223,0.10);
  margin-bottom: 0.5rem;
}
.layout2-info-box {
  background: #f8f9fa;
  border-radius: 1rem;
  box-shadow: 0 1px 8px rgba(0,19,115,0.04);
  margin-bottom: 1.5rem;
}
.layout2-section {
  color: var(--secondary);
  font-weight: 600;
}
.layout2-list {
  font-size: 1.08rem;
  padding-left: 0;
}
@media (max-width: 991px) {
  .layout2-hero .col-lg-6, .layout2-hero .col-lg-10 {
    max-width: 100%;
  }
  .layout2-hero-img {
    max-width: 220px;
    margin: 0 auto;
  }
}

.layout3-hero {
  margin-top: 3rem;
  margin-bottom: 3rem;
}
.layout3-hero-box {
  background: #fff;
  border-radius: 1.5rem;
  box-shadow: 0 2px 24px rgba(0,19,115,0.08);
  padding: 3rem 2rem;
}
.layout3-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--secondary);
  letter-spacing: 0.5px;
}
.layout3-gradient-bar {
  width: 120px;
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}
.layout3-lead {
  font-size: 1.3rem;
  color: var(--primary);
  font-weight: 600;
}
.layout3-btn {
  font-size: 1.08rem;
  border-radius: 2rem;
  min-width: 140px;
}
.layout3-feature-card {
  background: #fff;
  border-radius: 1.2rem;
  box-shadow: 0 2px 16px rgba(0,19,115,0.07);
  margin-bottom: 1.2rem;
  transition: box-shadow 0.18s, transform 0.18s;
}
.layout3-feature-card:hover {
  box-shadow: 0 8px 32px rgba(0,19,115,0.13);
  transform: translateY(-4px) scale(1.02);
}
.layout3-feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
  font-size: 1.5rem;
  color: var(--white);
  box-shadow: 0 2px 8px rgba(12,192,223,0.10);
  margin-top: 0.2rem;
}
.layout3-info-box {
  background: #f8f9fa;
  border-radius: 1rem;
  box-shadow: 0 1px 8px rgba(0,19,115,0.04);
  margin-bottom: 1.5rem;
}
.layout3-section {
  color: var(--secondary);
  font-weight: 700;
}
.layout3-list {
  font-size: 1.08rem;
  padding-left: 0;
}
.layout3-testimonial-box {
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 1px 8px rgba(0,19,115,0.04);
  margin-bottom: 1.5rem;
}
.layout3-testimonial-avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--secondary);
}
@media (max-width: 991px) {
  .layout3-hero .col-lg-10 {
    max-width: 100%;
  }
}

.bestof-hero {
  margin-top: 3rem;
  margin-bottom: 3rem;
  position: relative;
  z-index: 1;
}

.bestof-title {
  font-size: 2.3rem;
  font-weight: 700;
  color: var(--secondary);
  line-height: 1.2;
}

.bestof-gradient {
  background: linear-gradient(90deg, #06768A 60%, #001373 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  font-weight: 700;
  display: inline-block;
}

.bestof-lead {
  font-size: 1.15rem;
  color: var(--secondary);
}

.bestof-accent {
  color: var(--primary);
  font-weight: 600;
  display: inline-block;
  margin-top: 0.5rem;
}

.bestof-btn {
  font-size: 1.08rem;
  border-radius: 2rem;
  min-width: 140px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.bestof-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(12,192,223,0.2);
}

.bestof-hero-img {
  max-width: 320px;
  width: 100%;
  border-radius: 1.5rem;
  box-shadow: 0 4px 24px rgba(12,192,223,0.10);
  background: var(--accent);
  padding: 1.2rem;
  transition: transform 0.3s, box-shadow 0.3s;
}

.bestof-hero-img:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 8px 32px rgba(12,192,223,0.15);
}

.bestof-feature-card {
  background: #fff;
  border-radius: 1.2rem;
  box-shadow: 0 2px 16px rgba(0,19,115,0.07);
  margin-bottom: 1.2rem;
  transition: box-shadow 0.18s, transform 0.18s;
}
.bestof-feature-card:hover {
  box-shadow: 0 8px 32px rgba(0,19,115,0.13);
  transform: translateY(-4px) scale(1.02);
}
.bestof-feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
  font-size: 1.5rem;
  color: #fff;
  background: var(--primary);
  box-shadow: 0 2px 8px rgba(12,192,223,0.15);
  border: 2px solid var(--secondary);
  margin-top: 0.2rem;
  margin-right: 1.2rem;
}
.bestof-info-box {
  background: #f8f9fa;
  border-radius: 1rem;
  box-shadow: 0 1px 8px rgba(0,19,115,0.04);
  margin-bottom: 1.5rem;
}
.bestof-section {
  color: var(--secondary);
  font-weight: 700;
}
.bestof-list {
  font-size: 1.08rem;
  padding-left: 0;
}
.bestof-testimonial-box {
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 1px 8px rgba(0,19,115,0.04);
  margin-bottom: 1.5rem;
}
.bestof-testimonial-avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--secondary);
}
@media (max-width: 991px) {
  .bestof-hero .col-lg-6, .bestof-hero .col-lg-10 {
    max-width: 100%;
  }
  .bestof-hero-img {
    max-width: 220px;
    margin: 0 auto;
  }
}
@media (min-width: 1200px) {
  .bestof-hero-img {
    max-width: 800px;
    margin-left: auto !important;
    margin-right: 0 !important;
    display: block;
  }
  .bestof-hero .col-lg-6.text-center {
    text-align: right !important;
  }
}
@media (max-width: 1199px) {
  .bestof-hero .row.align-items-center {
    flex-direction: column !important;
  }
  .bestof-hero .col-lg-6.text-center.text-lg-start {
    text-align: center !important;
    margin-bottom: 1.5rem !important;
    max-width: 90vw;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
    margin-left: auto;
    margin-right: auto;
  }
  .bestof-hero .col-lg-6.text-center {
    margin-bottom: 0 !important;
    margin-top: 0.5rem !important;
  }
  .bestof-hero-img {
    margin: 0 auto !important;
    display: block;
    max-width: 600px;
  }
}
@media (max-width: 767px) {
  .bestof-hero .col-lg-6.text-center.text-lg-start {
    max-width: 98vw;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
  .bestof-title {
    font-size: 2rem;
  }
  .bestof-lead {
    font-size: 1.1rem;
  }
}

.section-divider {
  position: relative;
  width: 100%;
  height: 80px;
  margin-top: 0;
  margin-bottom: 2.5rem;
  overflow: hidden;
}

.section-divider svg {
  width: 100%;
  height: 100%;
  display: block;
}

.section-divider path {
  fill: var(--primary);
  animation: wave-float 3s ease-in-out infinite;
}

@keyframes wave-float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-2px); }
}

@keyframes fadein-up {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.animate-fadein-up {
  animation: fadein-up 0.6s ease-out forwards;
}

@media (min-width: 768px) and (max-width: 1199px) {
  html {
    font-size: 20px;
  }
  .bestof-title, h1 {
    font-size: 2.6rem !important;
  }
  .bestof-lead, p, li, .navbar-nav .nav-link {
    font-size: 1.25rem !important;
  }
  .bestof-btn, .btn, .btn-primary, .btn-outline-primary, .btn-outline-secondary {
    font-size: 1.15rem !important;
    min-width: 150px;
  }
}
@media (max-width: 767px) {
  html {
    font-size: 17px;
  }
  .bestof-title, h1 {
    font-size: 2rem !important;
  }
  .bestof-lead, p, li, .navbar-nav .nav-link {
    font-size: 1.08rem !important;
  }
  .bestof-btn, .btn, .btn-primary, .btn-outline-primary, .btn-outline-secondary {
    font-size: 1rem !important;
    min-width: 120px;
  }
}

.bestof-accent {
  color: #06768A !important;
  font-weight: 700;
}

.bestof-main-container {
  border: 1.5px solid #B2EAF3;
  border-radius: 1.5rem;
  background: #fff;
  padding: 2.5rem 1.5rem;
  max-width: 1100px;
  margin: 2.5rem auto 0 auto;
  box-shadow: 0 4px 24px rgba(12,192,223,0.07);
}

.bestof-content-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  width: 100%;
  max-width: 950px;
  margin: 0 auto;
}
.bestof-content-grid .row {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}
.bestof-feature-card,
.bestof-info-box,
.bestof-testimonial-box {
  width: 100%;
  max-width: 100%;
  border: 1px solid #B2EAF3;
  border-radius: 1.2rem;
  background: #fff;
  box-shadow: 0 2px 8px rgba(12,192,223,0.06);
}

.table-primary {
  background-color: #001373 !important;
  color: #fff !important;
}

.form-text,
.text-muted,
.card-text.text-muted {
  color: #343a40 !important;
}

.text-secondary {
  color: #343a40 !important;
}

/* Globale Animationen */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.8s ease-out forwards;
    opacity: 0;
}

/* Eingabefelder deutlicher hervorheben */
.form-control,
.form-select,
.input-group-text {
    background-color: #ffffff !important;
    border: 2px solid #e0e0e0 !important;
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05) !important;
    padding: 0.5rem 0.75rem !important;
}

.input-group .form-control {
    border-right: none !important;
}

.input-group .input-group-text {
    border-left: none !important;
    background-color: #ffffff !important;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 0.2rem rgba(12, 192, 223, 0.25) !important;
    outline: none !important;
}

.form-control:hover,
.form-select:hover {
    border-color: #b0b0b0 !important;
}

/* Button hervorheben */
.btn-primary {
    padding: 0.5rem 1.5rem;
    font-weight: 500;
}

/* Mobile Anpassungen für Provisionstabellen */
@media (max-width: 767px) {
    .mobile-cards thead {
        display: none;
    }
    
    .mobile-cards tbody tr {
        display: flex;
        flex-direction: column;
        border: 1px solid #dee2e6;
        margin-bottom: 1rem;
        border-radius: 4px;
        background: #fff;
    }
    
    .mobile-cards tbody td {
        display: flex;
        padding: 0.75rem;
        border: none;
        border-bottom: 1px solid #dee2e6;
    }
    
    .mobile-cards tbody td:last-child {
        border-bottom: none;
    }
    
    .mobile-cards tbody td::before {
        content: attr(data-label);
        font-weight: bold;
        min-width: 120px;
        margin-right: 1rem;
    }
    
    .mobile-cards td[data-label="Betrag"] {
        background-color: #f8f9fa;
    }
    
    .mobile-cards td[data-label="Stufe / Prozentsatz"] .d-flex {
        flex: 1;
    }
    
    .mobile-cards td[data-label="Betrag"]::before {
        align-self: center;
    }
}

/* Einheitliche Tabellen-Styles */
.table {
  width: 100%;
  margin-bottom: 1rem;
  color: var(--secondary);
  background-color: #fff;
  border-radius: 0.5rem;
  overflow: hidden;
}
.table th, .table td {
  vertical-align: middle;
  padding: 0.75rem 1rem;
  border-top: 1px solid #dee2e6;
  font-size: 1.04rem;
}
.table thead th {
  background-color: var(--accent);
  color: var(--secondary);
  font-weight: bold;
  border-bottom: 2px solid var(--primary);
  text-align: left;
}
.table tfoot td, .table tfoot th, .table .table-summary {
  font-weight: bold;
  background: #f3f7fa;
  border-top: 2px solid var(--primary);
}
.table .text-end, .table td.text-end, .table th.text-end {
  text-align: right !important;
}
.table .text-start, .table td.text-start, .table th.text-start {
  text-align: left !important;
}
.table .text-center, .table td.text-center, .table th.text-center {
  text-align: center !important;
}
.table tbody tr {
  transition: background 0.2s;
}
.table-hover tbody tr:hover {
  background-color: #CADCEC !important;
  border-left: 6px solid #0CC0DF !important;
  box-shadow: 0 0 8px 0 #CADCEC66;
  transition: background 0.2s, border 0.2s, box-shadow 0.2s;
}
.table .fw-bold {
  font-weight: bold !important;
}
@media (max-width: 991px) {
  .table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}
@media (max-width: 767px) {
  .table tbody tr {
    display: block;
    margin-bottom: 1rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
    border: 1px solid #dee2e6;
    padding: 0.5rem 0.7rem 0.2rem 0.7rem;
  }
  .table tbody td {
    display: flex;
    align-items: flex-start;
    padding: 0.3rem 0.2rem;
    border: none;
    border-bottom: 1px solid #eee;
    font-size: 1rem;
    background: none;
  }
  .table tbody td::before {
    content: attr(data-label);
    font-weight: 600;
    color: #001373;
    min-width: 7em;
    max-width: 45%;
    flex: 0 0 7em;
    text-align: left;
    padding-right: 1rem;
    font-size: 0.98rem;
    display: inline-block;
    white-space: normal;
    word-break: break-word;
  }
  .table tbody td:last-child {
    border-bottom: none;
  }
  /* Summenzeile optisch hervorheben */
  .table-summary td {
    background: #CADCEC !important;
    color: #001373 !important;
    font-weight: bold;
    border-radius: 0 0 8px 8px;
    font-size: 1.08rem;
    border-bottom: none !important;
    margin-top: 0.5rem;
  }
}
/* Summenzeile optisch hervorheben */
.table-summary, .table tfoot tr {
  background: #eaf6fa;
  font-weight: bold;
  border-top: 2px solid var(--primary);
}

.bg-cyan {
    background-color: #00BCD4 !important;
    color: #fff !important;
}

.bg-tuerkis {
    background-color: #0CC0DF !important;
    color: #fff !important;
}
.bg-dunkelblau {
    background-color: #001373 !important;
    color: #fff !important;
}
.bg-akzent {
    background-color: #CADCEC !important;
    color: #001373 !important;
}
.text-tuerkis {
    color: #0CC0DF !important;
}
.text-dunkelblau {
    color: #001373 !important;
}
.text-akzent {
    color: #CADCEC !important;
}

/* Karrierestufen Select Styling */
select.dv-input option[value="JUNIOR"]:hover,
select.dv-input option[value="SENIOR"]:hover,
select.dv-input option[value="TEAM_LEADER"]:hover,
select.dv-input option[value="DIRECTOR"]:hover,
select.dv-input option[value="EXECUTIVE"]:hover {
    background: #0CC0DF !important;
    color: white !important;
}

/* Hover-Effekt für "Bitte wählen..." Option */
select.dv-input option[value=""]:hover {
    background: #0CC0DF !important;
    color: white !important;
}

/* Aktiver/Selektierter Zustand */
select.dv-input option:checked,
select.dv-input option:active {
    background: #0CC0DF !important;
    color: white !important;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
}

/* Spezifische Korrektur für aufklappbare Detail-Reihen in mobilen Tabellen */
@media (max-width: 767px) {
    .table.mobile-cards .details-row > td {
        display: block !important;
        width: 100% !important;
        padding: 0 !important;
        border: none !important;
    }

    .table.mobile-cards .details-row > td::before {
        display: none !important;
    }
}

.card, .row, .container {
  overflow: visible !important;
}

/* === Zentrale Seiten-Wrapper-Logik für 1-3 Spalten (100% Breite) === */
.dv-page-wrapper {
  width: 100%;
  max-width: none;
  margin: 0;
  padding-left: 2rem;
  padding-right: 2rem;
  padding-top: 2rem;
  padding-bottom: 2rem;
  display: flex;
  gap: 2rem;
  box-sizing: border-box;
}
.dv-columns-1 {
  flex-direction: column;
}
.dv-columns-2 {
  flex-direction: row;
}
.dv-columns-2 > * {
  flex: 1 1 50%;
}
.dv-columns-3 {
  flex-direction: row;
}
.dv-columns-3 > * {
  flex: 1 1 33.33%;
}
@media (max-width: 991px) {
  .dv-page-wrapper {
    flex-direction: column !important;
    gap: 1rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
  .dv-columns-2 > *, .dv-columns-3 > * {
    flex: 1 1 100%;
  }
}

.hero-section {
    background: var(--primary);
}

/* === Tool-Hero Komponente === */
.tool-hero {
  background: linear-gradient(180deg, #eaf9ff 0%, #ffffff 100%);
  background-size: 200% 200%;
  animation: gradient-shift 8s ease-in-out infinite;
  padding: 4rem 0;
  border-bottom: none;
  box-shadow: 0 4px 16px rgba(12,192,223,0.15), 0 2px 8px rgba(0,19,115,0.08), inset 0 -2px 4px rgba(0, 0, 0, 0.08);
  margin-bottom: 0;
  transition: all 0.3s ease;
  position: relative;
}

@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Entfernt - wird durch schwungvolle Trennlinie ersetzt */

.tool-hero-content {
  text-align: center;
  position: relative;
}

.tool-hero-icon {
  display: inline-block;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #0CC0DF 0%, #001373 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem auto;
  box-shadow: 0 6px 20px rgba(12,192,223,0.4);
  transition: all 0.3s ease;
  position: relative;
  animation: icon-pulse 4s ease-in-out infinite;
}

@keyframes icon-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.tool-hero-icon::before {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  background: linear-gradient(135deg, rgba(12,192,223,0.3) 0%, rgba(0,19,115,0.3) 100%);
  border-radius: 50%;
  z-index: -1;
}

.tool-hero-icon::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(12,192,223,0.6) 50%, transparent 100%);
  border-radius: 1px;
}

.tool-hero-icon i {
  font-size: 2.2rem;
  color: white;
}

.tool-hero-icon:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 24px rgba(12,192,223,0.5), 0 0 20px rgba(12,192,223,0.3);
  filter: drop-shadow(0 0 8px rgba(12,192,223,0.4));
}

.tool-hero-icon:hover::after {
  background: linear-gradient(90deg, transparent 0%, rgba(12,192,223,0.8) 50%, transparent 100%);
  width: 50px;
}

.tool-hero-title {
  font-family: var(--heading-font);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 1.5rem;
  line-height: 1.2;
  text-align: center;
  text-shadow: 0 1px 2px rgba(0,19,115,0.1);
  position: relative;
}

.tool-hero-subtitle-wrapper {
  margin-bottom: 2.5rem;
}

.tool-hero-subtitle-primary {
  font-family: var(--body-font);
  font-size: 1.4rem;
  color: #1a202c;
  text-align: center;
  max-width: 500px;
  margin: 0 auto 0.8rem auto;
  line-height: 1.5;
  font-weight: 600;
}

.tool-hero-subtitle-secondary {
  font-family: var(--body-font);
  font-size: 0.95rem;
  color: #6c757d;
  text-align: center;
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: 0.025em;
}

.tool-hero-cta {
  margin-top: 2rem;
}

.tool-hero-cta .btn {
  padding: 0.75rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  box-shadow: 0 4px 12px rgba(12,192,223,0.3);
  transition: all 0.3s ease;
}

.tool-hero-cta .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(12,192,223,0.4), 0 0 10px rgba(12,192,223,0.5);
}

.tool-hero-trust-line {
  margin-top: 1rem;
  text-align: center;
}

.tool-hero-benefits {
  margin-top: 1.5rem;
  text-align: center;
}

.tool-hero-benefits-text {
  font-size: 0.9rem;
  color: #444;
  line-height: 1.6;
  margin: 0;
  font-weight: 400;
}

.tool-hero-check-link {
  margin-top: 1rem;
}

.tool-hero-check-link-text {
  font-size: 0.85rem;
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.tool-hero-check-link-text:hover {
  color: var(--secondary);
  text-decoration: underline;
}

.tool-hero-trust-line {
  margin-top: 1rem;
  text-align: center;
}

.tool-hero-trust-line small {
  font-size: 0.875rem;
  color: #6c757d;
  letter-spacing: 0.025em;
}

/* Sanfter Übergang zum Tool-Content */
.tool-hero + .dv-page-wrapper {
  margin-top: 0;
  padding-top: 2.5rem;
}

/* Responsive Design für Tool-Hero */
@media (max-width: 991px) {
  .tool-hero {
    padding: 3rem 0;
  }
  
  .tool-hero-title {
    font-size: 2rem;
    margin-bottom: 1.2rem;
  }
  
  .tool-hero-subtitle-primary {
    font-size: 1.3rem;
    max-width: 450px;
    margin-bottom: 0.6rem;
  }
  
  .tool-hero-subtitle-secondary {
    font-size: 0.9rem;
    max-width: 450px;
  }
  
  .tool-hero-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 1.5rem;
  }
  
  .tool-hero-icon i {
    font-size: 2rem;
  }
  
  .tool-hero-icon::after {
    width: 35px;
    bottom: -12px;
  }
  
  .tool-hero-subtitle-wrapper {
    margin-bottom: 2rem;
  }
  
  .tool-hero-cta {
    margin-top: 1.5rem;
  }
}

@media (max-width: 767px) {
  .tool-hero {
    padding: 2.5rem 0;
  }
  
  .tool-hero-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }
  
  .tool-hero-subtitle-primary {
    font-size: 1.2rem;
    max-width: 100%;
    padding: 0 1rem;
    margin-bottom: 0.5rem;
  }
  
  .tool-hero-subtitle-secondary {
    font-size: 0.85rem;
    max-width: 100%;
    padding: 0 1rem;
  }
  
  .tool-hero-icon {
    width: 65px;
    height: 65px;
    margin-bottom: 1.2rem;
  }
  
  .tool-hero-icon i {
    font-size: 1.8rem;
  }
  
  .tool-hero-icon::after {
    width: 30px;
    bottom: -10px;
  }
  
  .tool-hero-subtitle-wrapper {
    margin-bottom: 1.5rem;
  }
  
  .tool-hero-cta {
    margin-top: 1.2rem;
  }
  
  .tool-hero-cta .btn {
    padding: 0.6rem 1.5rem;
    font-size: 1rem;
  }
  
  .tool-hero-trust-line {
    margin-top: 0.8rem;
  }
  
  .tool-hero-benefits {
    margin-top: 1rem;
  }
  
  .tool-hero-benefits-text {
    font-size: 0.8rem;
  }
  
  .tool-hero-check-link {
    margin-top: 0.8rem;
  }
  
  .tool-hero-check-link-text {
    font-size: 0.8rem;
  }
  
  .tool-hero-trust-line small {
    font-size: 0.8rem;
  }
}

/* Hover-Effekte für bessere Interaktivität */
.tool-hero:hover {
  box-shadow: 0 6px 20px rgba(12,192,223,0.2), 0 4px 12px rgba(0,19,115,0.12), inset 0 -2px 4px rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
}

/* Animation für sanften Eintritt */
@keyframes tool-hero-fadein {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tool-hero {
  animation: tool-hero-fadein 0.5s ease-out;
}

/* Smooth Scroll für Anker-Links */
html {
  scroll-behavior: smooth;
}

/* Scroll-Margin für Anker-Ziele */
#pruefung-details,
#linkchecker-results,
#linkchecker-form {
  scroll-margin-top: 80px;
}

/* Verbesserte Kontraste für Link-Checker Ergebnisse */
.table-light th {
  background-color: #f8f9fa !important;
  color: #495057 !important;
  font-weight: 600 !important;
  border-bottom: 2px solid #dee2e6 !important;
}

.table tbody td {
  color: #212529 !important;
}

.table tbody td strong {
  color: #495057 !important;
}

/* Lesbare Button-Farben für besseren Kontrast */
.dv-btn-outline {
    color: var(--secondary) !important; /* Dunkelblau statt Türkis */
    border-color: var(--secondary) !important; /* Dunkelblau statt Türkis */
    background-color: #ffffff !important; /* Weißer Hintergrund */
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
}

.dv-btn-outline:hover {
    background-color: var(--secondary) !important; /* Dunkelblau beim Hover */
    color: white !important; /* Weißer Text auf dunkelblauem Hintergrund */
    border-color: var(--secondary) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0, 19, 115, 0.25) !important;
}

.dv-btn-outline:focus {
    background-color: var(--secondary) !important;
    color: white !important;
    border-color: var(--secondary) !important;
    box-shadow: 0 0 0 0.2rem rgba(0, 19, 115, 0.25) !important;
}

/* Spezielle Regel für Beratungs-Button */
.dv-btn-outline[onclick*="openBeratungModal"] {
    color: #001373 !important; /* Dunkelblau */
    border-color: #001373 !important;
    background-color: #ffffff !important;
    font-weight: 600 !important;
}

.dv-btn-outline[onclick*="openBeratungModal"]:hover {
    background-color: #001373 !important;
    color: #ffffff !important;
    border-color: #001373 !important;
}

/* Alternative: Gradient-Button für bessere Lesbarkeit */
.dv-btn-outline-gradient {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%) !important;
    color: #001373 !important;
    border: 2px solid #001373 !important;
    font-weight: 600 !important;
    box-shadow: 0 2px 8px rgba(0, 19, 115, 0.1) !important;
}

.dv-btn-outline-gradient:hover {
    background: linear-gradient(135deg, #001373 0%, #000d4d 100%) !important;
    color: #ffffff !important;
    border-color: #001373 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 16px rgba(0, 19, 115, 0.3) !important;
}

/* Sichere Farben für alle Buttons */
.dv-btn {
    font-weight: 600 !important;
    border-radius: 0.5rem !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
}

/* Automatische Kontrast-Korrektur für alle outline-Buttons */
.btn-outline-primary,
.btn-outline-info,
.dv-btn-outline {
    color: #001373 !important; /* Dunkelblau statt Türkis */
    border-color: #001373 !important;
    background-color: #ffffff !important;
}

.btn-outline-primary:hover,
.btn-outline-info:hover,
.dv-btn-outline:hover {
    background-color: #001373 !important;
    color: #ffffff !important;
    border-color: #001373 !important;
}

/* Einheitliche Button-Höhen für CTA-Karten */
.dv-cta-card .dv-btn,
.dv-cta-card .btn {
    height: 48px !important;
    line-height: 1.2 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: 0.5rem !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    gap: 0.5rem !important;
    min-height: 48px !important;
    max-height: 48px !important;
}

/* Spezielle Regel für alle CTA-Buttons */
.dv-cta-card .dv-btn-primary,
.dv-cta-card .dv-btn-outline,
.dv-cta-card .dv-btn-success {
    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
    line-height: 1.2 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: 0.5rem !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    gap: 0.5rem !important;
}

/* Responsive Anpassungen für mobile Geräte */
@media (max-width: 768px) {
    .dv-cta-card .dv-btn,
    .dv-cta-card .btn {
        height: 44px !important;
        min-height: 44px !important;
        max-height: 44px !important;
        font-size: 0.95rem !important;
        padding: 0.6rem 1.2rem !important;
    }
}

/* Hover-Effekte für einheitliche Buttons */
.dv-cta-card .dv-btn:hover,
.dv-cta-card .btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0, 19, 115, 0.25) !important;
}

/* Focus-Effekte für Accessibility */
.dv-cta-card .dv-btn:focus,
.dv-cta-card .btn:focus {
    outline: none !important;
    box-shadow: 0 0 0 0.2rem rgba(0, 19, 115, 0.25) !important;
}

/* Spezielle Regel für das Icon im "Jetzt bestellen" Button */
.dv-btn-success .bi,
.dv-btn-success i {
    color: #ffffff !important; /* Weißes Icon auf dunkelblauem Button */
}

/* Spezielle Regel für Lightning-Icon im Bestellen-Button */
.dv-btn-success .bi-lightning,
.dv-btn-success i.bi-lightning {
    color: #ffffff !important; /* Weißes Lightning-Icon */
}

