/* Customized css for Knowhere Consulting
 * here we define all colors we are using
 * based on the original bootstrap.class
 */

 @import url('/vendor/fontawesome/css/all.min.css');

 @font-face {
     font-family: 'Radio Grotesk';
     src: url('../fonts/PPRadioGrotesk-Black.ttf') format('truetype');
     font-weight: normal;
     font-style: normal;
 }

 @font-face {
     font-family: 'Space Grotesk';
     src: url('../fonts/SpaceGrotesk-Regular.ttf') format('truetype');
     font-weight: normal;
     font-style: normal;
 }

:root {
  --bs-primary: #2e4cff;   /* Ultramarine Blue */
  --bs-secondary: #e9edff; /* Baby Blue        */
  --bs-success: #50c878;   /* Esmerald Green   */
  --bs-dark: #09264a;      /* Midnight Blue    */
  --bs-secondary-rgb: 233, 237, 255; /* Baby Blue as RGB */
}

body {
  font-family: 'Space Grotesk', sans-serif;
  line-height: 1.2;
  font-size: 14pt;
  font-weight: normal;
}

h1 {
  font-family: 'Radio Grotesk', sans-serif;
  font-size: clamp(22pt, 5vw, 48pt);
  line-height: 1.2;
  letter-spacing: -0,125em; /* Spacing of -1,6 pt */
  color: var(--bs-primary);
}

h2 {
  font-family: 'Radio Grotesk', sans-serif;
  font-size: clamp(18pt, 5vw, 36pt);
  line-height: 1.2;
  letter-spacing: -0,08333em; /* Spacing of -1,6 pt */
  color: var(--bs-primary);
}

h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(16pt, 5vw, 24pt);
  line-height: 1.2;
  letter-spacing: -0,0333em; /* Spacing of -1,6 pt */
  color: var(--bs-primary);
  font-weight: bold;
}

h4, h5, h6 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14pt;
  line-height: 1.2;
  color: var(--bs-secondary);
  font-weight: bold;
}

.btn-primary {
  font-family: 'Space Grotesk', sans-serif !important;
  font-size: 14pt;
  line-height: 1.2;
  color: var(--bs-secondary) !important;
  font-weight: bold;
  background-color: var(--bs-primary) !important;
}

.btn-primary:hover {
    color: var(--bs-primary) !important;
    background-color: var(--bs-secondary) !important;
    border-color: var(--bs-secondary) !important;
}

.btn-secondary {
  font-family: 'Space Grotesk', sans-serif !important;
  font-size: 14pt;
  line-height: 1.2;
  color: var(--bs-primary) !important;
  font-weight: bold;
  background-color: var(--bs-secondary) !important;
}

.btn-secondary:hover {
    color: var(--bs-secondary) !important;
    background-color: var(--bs-primary) !important;
    border-color: var(--bs-secondary) !important;
}

.btn-outline-primary {
    color: var(--bs-primary) !important;
    border-color: var(--bs-primary) !important;
}

.btn-outline-primary:hover {
    color: var(--bs-secondary) !important;
    background-color: var(--bs-dark) !important;
    border-color: var(--bs-secondary) !important;
}

.btn-outline-secondary {
    color: var(--bs-dark) !important;
    border-color: var(--bs-dark) !important;
}

.btn-outline-secondary:hover {
    color: var(--bs-dark) !important;
    background-color: var(--bs-secondary) !important;
    border-color: var(--bs-success) !important;
}

.btn-outline-light {
    color: var(--bs-secondary) !important;
    border-color: var(--s-secondary) !important;
}

.btn-outline-light:hover {
    color: var(--bs-primary) !important;
    background-color: var(--bs-success) !important;
    border-color: var(--bs-primary) !important;
}

.knowhere-bg-ultramarine-text-babyblue {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14pt;
  line-height: 1.2;
  color: var(--bs-secondary);
  background-color: var(--bs-primary);
}

.knowhere-bg-esmerald-green-text-babyblue {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14pt;
  line-height: 1.2;
  color: var(--bs-secondary);
  background-color: var(--bs-success);
}

.knowhere-bg-esmerald-green-text-ultramarine {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14pt;
  line-height: 1.2;
  color: var(--bs-primary);
  background-color: var(--bs-success);
}

.knowhere-bg-midnightblue-text-babyblue {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14pt;
  line-height: 1.2;
  color: var(--bs-secondary);
  background-color: var(--bs-dark);
}

.knowhere-bg-babyblue-text-ultramarineblue {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14pt;
  line-height: 1.2;
  color: var(--bs-primary);
  background-color: var(--bs-secondary);
}

.knowhere-bguntouched-text-ultramarineblue {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14pt;
  line-height: 1.2;
  color: var(--bs-primary);
}

.knowhere-bguntouched-text-babyblue {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14pt;
  line-height: 1.2;
  color: var(--bs-secondary);
}

.knowhere-h1-ultramarineblue-babyblue {
  font-family: 'Radio Grotesk', sans-serif;
  font-size: clamp(22pt, 5vw, 48pt);;
  line-height: 1.2;
  letter-spacing: -0,125em; /* Spacing of -1,6 pt */
  color: var(--bs-secondary);
}

.knowhere-h2-ultramarineblue-babyblue {
  font-family: 'Radio Grotesk', sans-serif;
  font-size: clamp(18pt, 5vw, 36pt);
  line-height: 1.2;
  letter-spacing: -0,08333em; /* Spacing of -1,6 pt */
  color: var(--bs-secondary);
}

.knowhere-h2-bguntouched_ultramarineblue {
  font-family: 'Radio Grotesk', sans-serif;
  font-size: clamp(18pt, 5vw, 36pt);
  line-height: 1.2;
  letter-spacing: -0,08333em; /* Spacing of -1,6 pt */
  color: var(--bs-primary);
}

.knowhere-h2-bguntouched_babyblue {
  font-family: 'Radio Grotesk', sans-serif;
  font-size: clamp(18pt, 5vw, 36pt);
  line-height: 1.2;
  letter-spacing: -0,08333em; /* Spacing of -1,6 pt */
  color: var(--bs-secondary);
}

.knowhere-h3-ultramarineblue-babyblue {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(16pt, 5vw, 24pt);
  line-height: 1.2;
  letter-spacing: -0,0333em; /* Spacing of -1,6 pt */
  color: var(--bs-secondary);
  font-weight: bold;
}

.knowhere-h4-ultramarineblue-babyblue {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14pt;
  line-height: 1.2;
  letter-spacing: -0,0333em; /* Spacing of -1,6 pt */
  color: var(--bs-secondary);
  font-weight: bold;
}

.knowhere-h4-babyblue-ultramarineblue {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14pt;
  line-height: 1.2;
  letter-spacing: -0,0333em; /* Spacing of -1,6 pt */
  color: var(--bs-primary);
  font-weight: bold;
}

.bg-body-tertiary {
  background-color: var(--bs-primary) !important;
}

.knowhere-border-primary {
  border-color: var(--bs-primary) !important; /* Standard Primary Farbe: Blau */
}

.knowhere-table-ultramarine-bg {
    --bs-table-color: var(--bs-secondary) !important; /* Standard Textfarbe */
    --bs-table-bg: var(--bs-primary) !important; /* Ultramarine Blue  Background */
    --bs-table-border-color: var(--bs-secondary) !important; /* Standard Rahmenfarbe */
    width: 100%;
    margin-bottom: 1rem;
    color: var(--bs-table-color);
    vertical-align: top;
    border-color: var(--bs-table-border-color);
}

.knowhere-table-babyblue-bg {
    --bs-table-color: var(--bs-primary) !important; /* Standard Textfarbe */
    --bs-table-bg: var(--bs-secondary) !important; /* Ultramarine Blue  Background */
    --bs-table-border-color: var(--bs-primary) !important; /* Standard Rahmenfarbe */
    width: 100%;
    margin-bottom: 1rem;
    color: var(--bs-table-color);
    vertical-align: top;
    border-color: var(--bs-table-border-color);
}

.knowhere-highlight-row {
  background-color: var(--bs-primary) !important; /* Ultramarine Blau */
  font-weight: bold;
  color: var(--bs-secondary) !important;
}

/* Spambotprotection Container for honeypots */
.knowhere-extra-data-container {
    position: absolute; /* Außerhalb des sichtbaren Bereichs */
    left: -9999px;
    top: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    visibility: hidden; /* Für Menschen unsichtbar */
}

.knowhere-extra-data-field {
    margin: 0;
    padding: 0;
}

.table-striped > tbody > tr:nth-of-type(odd) {
  --bs-table-accent-bg: #f8f9fa; /* Standard helle Farbe */
  background-color: var(--bs-table-accent-bg); /* Hintergrundfarbe für ungerade Zeilen */
}

.table-success {
  --bs-table-bg: var(--bs-success) !important; /* Grüner Hintergrund */
  --bs-table-striped-bg: var(--bs-success) !important; /* Grüner Streifen (bei Kombination mit .table-striped) */
  --bs-table-striped-color: #000; /* Textfarbe für gestreifte Zeilen */
  --bs-table-active-bg: #bcd0c7; /* Hintergrund für aktive/grüne Zeilen */
  --bs-table-hover-bg: #c2d6cc; /* Hintergrund bei Hover */
  color: #000; /* Schwarzer Text */
}
.table-success {
  background-color: var(--bs-table-bg) !important; /* Grüner Hintergrund */
  color: var(--bs-table-color) !important; /* Standard-Textfarbe */
}

.nav-link {
    color: var(--bs-secondary) !important;
    position: relative;
    padding-left: 1rem;
    padding-right: 1rem;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 12pt;
    line-height: 1.2;
    font-weight: bold;
}

.nav-link:hover {
    color: var(--bs-dark) !important;
}

.nav-link.active {
    color: var(--bs-success) !important;
}

.nav-link.active::after {
    content: "";
    display: block;
    width: 100%; /* Die Breite des Unterstrichs ist gleich der Breite des Links */
    height: 2px; /* Höhe des Unterstrichs */
    background-color: var(--bs-success);
    margin-top: 1px; /* Abstand zwischen Text und Unterstrich */
}

.nav-link:visited {
    color: var(--bs-secondary) !important;
}

.nav-link:focus {
    color: var(--bs-secondary) !important;
    outline: none !important; /* Optional: Entfernt den Standard-Fokusrahmen */
}

/* +++++++++++++++++++++++++++++
 * CSS for pulsing the logo and line
 *
 */
 /* Pulse Animation Container */
.pulse-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 200px;
  position: relative;
}

/* Linke und rechte Liniencontainer */
.lines-container {
  display: flex;
  gap: 8px; /* Platz zwischen den Linien */
}

.left, .right {
  display: flex;
  gap: 8px;
}

/* Definition der Linien */
.line {
  width: 5px;
  height: 60px;
  background-color: var(--bs-secondary); /* Baby Blue als Standardfarbe */
}

/* Standardhöhe für das Symbol und die Linien */
.symbol {
  width: 50px !important;
  height: 50px !important;
}

.line {
  height: 60px;
}

.card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%; /* Ensures the cards are of equal height */
}

.card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--bs-primary);
    font-family: 'Space Grotesk', sans-serif;
}

.card-title_secondary {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--bs-secondary);
    font-family: 'Space Grotesk', sans-serif;
}

.card-text {
    font-size: 0.95rem;
    word-wrap: break-word;
    font-family: 'Space Grotesk', sans-serif;
    color: var(--bs-primary);
}

.contact-info {
    display: flex;
    flex-direction: column;
    margin-top: auto;
    font-family: 'Space Grotesk', sans-serif;
}

.contact-info p {
    display: flex;
    align-items: center;
    font-family: 'Space Grotesk', sans-serif;
}

.contact-info i {
    margin-right: 8px;
    font-family: 'Space Grotesk', sans-serif;
}

/* Styles for blogpost cards */
.category-stripe {
   width: 25px; /* Standardbreite für große Bildschirme */
   min-height: 100%; /* Vollständige Höhe der Karte */
 }

 /* Anpassung für mittlere Bildschirme */
 @media (max-width: 992px) {
   .category-stripe {
     width: 18px;
   }
 }

 /* Anpassung für kleine Bildschirme */
 @media (max-width: 768px) {
   .category-stripe {
     width: 12px;
   }
 }

 /* Anpassung für sehr kleine Bildschirme */
 @media (max-width: 576px) {
   .category-stripe {
     width: 8px;
   }
 }

 .card-content {
   padding-left: 15px; /* Platz für den Streifen */
 }

/* Styles for app cards */
.app-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  background-color: var(--bs-primary); /* Use your blue background color */
  padding: 20px;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.app-card:hover {
  transform: translateY(-5px); /* Add a subtle hover effect */
}

.app-logo {
  width: 100px; /* Adjust logo size */
  height: auto;
  margin-bottom: 20px;
}

.app-title {
  margin-bottom: 20px;
  font-size: 1.5rem;
  color: var(--bs-secondary); /* Secondary color for text */
}

.app-description {
  font-size: 1rem;
  color: var(--bs-secondary); /* Secondary color for text */
  flex-grow: 1; /* Makes the description fill the remaining space */
}


/* Anpassungen für größere Bildschirme */
@media (min-width: 768px) {
  .symbol {
    width: 70px !important;
    height: 70px !important;
  }

  .line {
    height: 80px;
  }
  .app-logo {
    width: 120px; /* Larger logo for medium screens */
  }

  .app-title {
    font-size: 1.75rem;
  }

  .app-description {
    font-size: 1.1rem;
  }
}

@media (min-width: 1024px) {
  .symbol {
    width: 90px !important;
    height: 90px !important;
  }

  .line {
    height: 100px;
  }
}

@media (min-width: 1440px) {
  .symbol {
    width: 110px !important;
    height: 110px !important;
  }

  .line {
    height: 120px;
  }
}

/* Animationen für die Linien links */
@keyframes pulse-line-left {
  0%, 100% { background-color: var(--bs-secondary); }
  50% { background-color: var(--bs-primary); } /* Ultramarine Blue */
}

/* Animationen für die Linien rechts */
@keyframes pulse-line-right {
  0%, 100% { background-color: var(--bs-secondary); }
  50% { background-color: var(--bs-primary); } /* Ultramarine Blue */
}

/* Symbol Animation (|k) */
@keyframes pulse-symbol {
  0%, 80% {
    content: url('../../Images/Logo/|knowhere_01-Symbol-Baby-Blue.png'); /* Baby Blue */
  }
  50% {
    content: url('../../Images/Logo/|knowhere_00-Symbol-Ultramarine-Blue.png'); /* Ultramarine Blue */
  }
}

/* Symbol-Animation */
.symbol {
  width: 50px; /* Hier kannst du die Größe anpassen */
  height: auto;
  animation: pulse-symbol 5s infinite;
  animation-timing-function: linear;
}

/* Linke Linien Animationen */
.left .line:nth-child(10) { animation: pulse-line-left 5s infinite; animation-delay: 2.5s; animation-timing-function: linear;}
.left .line:nth-child(9) { animation: pulse-line-left 5s infinite; animation-delay: 2.7s; animation-timing-function: linear;}
.left .line:nth-child(8) { animation: pulse-line-left 5s infinite; animation-delay: 2.9s; animation-timing-function: linear;}
.left .line:nth-child(7) { animation: pulse-line-left 5s infinite; animation-delay: 3.1s; animation-timing-function: linear;}
.left .line:nth-child(6) { animation: pulse-line-left 5s infinite; animation-delay: 3.3s; animation-timing-function: linear;}
.left .line:nth-child(5) { animation: pulse-line-left 5s infinite; animation-delay: 3.5s; animation-timing-function: linear;}
.left .line:nth-child(4) { animation: pulse-line-left 5s infinite; animation-delay: 3.7s; animation-timing-function: linear;}
.left .line:nth-child(3) { animation: pulse-line-left 5s infinite; animation-delay: 3.9s; animation-timing-function: linear;}
.left .line:nth-child(2) { animation: pulse-line-left 5s infinite; animation-delay: 4.1s; animation-timing-function: linear;}
.left .line:nth-child(1) { animation: pulse-line-left 5s infinite; animation-delay: 4.3s; animation-timing-function: linear;}

/* Rechte Linien Animationen */
.right .line:nth-child(1) { animation: pulse-line-right 5s infinite; animation-delay: 2.5s; animation-timing-function: linear;}
.right .line:nth-child(2) { animation: pulse-line-right 5s infinite; animation-delay: 2.7s; animation-timing-function: linear;}
.right .line:nth-child(3) { animation: pulse-line-right 5s infinite; animation-delay: 2.9s; animation-timing-function: linear;}
.right .line:nth-child(4) { animation: pulse-line-right 5s infinite; animation-delay: 3.1s; animation-timing-function: linear;}
.right .line:nth-child(5) { animation: pulse-line-right 5s infinite; animation-delay: 3.3s; animation-timing-function: linear;}
.right .line:nth-child(6) { animation: pulse-line-right 5s infinite; animation-delay: 3.5s; animation-timing-function: linear;}
.right .line:nth-child(7) { animation: pulse-line-right 5s infinite; animation-delay: 3.7s; animation-timing-function: linear;}
.right .line:nth-child(8) { animation: pulse-line-right 5s infinite; animation-delay: 3.9s; animation-timing-function: linear;}
.right .line:nth-child(9) { animation: pulse-line-right 5s infinite; animation-delay: 4.1s; animation-timing-function: linear;}
.right .line:nth-child(10) { animation: pulse-line-right 5s infinite; animation-delay: 4.3s; animation-timing-function: linear;}


/* Media Breaks settings */
/* for max width of monitor */
/* Smartphone portrait max 576px */
@media screen (max-width: 576px) {
  .knowhere-section-balanced {
    min-height: 35rem;
    padding-top: 10rem;
  }

}
/* Smartphone lanscape/small tablets max 768px */
@media screen (min-width: 577px) and (max-width: 768px) {
  .knowhere-section-balanced {
    min-height: 25rem;
    padding-top: 15rem;
  }

}
/* Tablets max 992px */
@media screen (min-width: 769px) and (max-width: 992px) {
  .knowhere-section-balanced {
    min-height: 15rem;
    padding-top: 20rem;
  }

}
/* Standard Desktop, bis Tablets  max 1200pxpx */
@media screen (min-width: 993px) and (max-width: 1200px) {
  .knowhere-section-balanced {
    min-height: 5rem;
    padding-top: 15rem;
  }

}
/* Big Desktops max 1400px */
@media screen (min-width: 1201px) and (max-width: 1400px) {
  .knowhere-section-balanced {
    min-height: 5rem;
    padding-top: 10rem;
  }

}
/* 2K/4K/WHQD/Ultrawide Displays min-width 1401px */
@media screen (min-width: 1401px) {
  .knowhere-section-balanced {
    min-height: 0.5rem;
    padding-top: 5rem;
  }

}

.text-body-secondary {
  color: var(--bs-secondary) !important;
}


/* ===============================
 * Responsive Höhen für Sektionen – mobile-first
 * =============================== */

/* 1. Default: Mobile Portrait (kleinster Fall) */
.knowhere-vh-hero {
  height: 120vh;
  overflow: hidden;
}

/* 2. Ab 577px – Landscape / kleine Tablets */
@media (min-width: 577px) {
  .knowhere-vh-hero {
    height: 100vh;
  }
}

/* 3. Ab 769px – Tablets */
@media (min-width: 769px) {
  .knowhere-vh-hero {
    height: 90vh;
  }
}

/* 4. Ab 993px – Standard Desktop */
@media (min-width: 993px) {
  .knowhere-vh-hero {
    height: 80vh;
  }
}

/* 5. Ab 1400px – große Screens */
@media (min-width: 1400px) {
  .knowhere-vh-hero {
    height: 70vh;
  }
}
