.stellenliste .job {
    border: 1px solid #ddd;
    padding: 0.5em;
    border-radius: 6px;
    margin-bottom: 1em;
    background-color: #f9f9f9;
    page-break-inside: avoid;
}

form table {
    line-height: 1.2;
    font-size: 16px;
    border-spacing: 0;
}

form table td {
    padding: 4px 6px;
    vertical-align: top;
}

form input[type="text"],
form input[type="number"],
form select {
    padding: 4px 6px;
    font-size: 13.5px;
    width: 100%;
    box-sizing: border-box;
}


.info-table {
    line-height: 1.1;
    font-size: 13.5px;
}

.info-table td {
    padding: 0.1em 0.5em;
}

.job img {
    display: block;
    margin: 0.5em auto 0;
    max-width: 100px;
}

form.inline-nachfrage {
  display: inline;
}
form.inline-nachfrage input[type="submit"] {
  font-size: 0.8rem;
  padding: 2px 6px;
  background: #2674db;
  color: #070707;
  border: 1px solid #ccc;
  border-radius: 4px;
  cursor: pointer;
}
form.inline-nachfrage input[type="submit"]:hover {
  background: #6aa2e2;
}

.job-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
}

.job-card {
    flex: 1 1 calc(28% - 1em); /* 28% macht es drei spaltig */
    margin-top: 10px;
    border: 1px solid #ccc;
    padding: 1em;
    border-radius: 6px;
    background: #f9f9f9;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

.job-card img {
    display: block;
    margin: 0.5em auto 0;
    max-width: 100px;
}

.job-card a {
    display: inline-block;
    margin-top: 0.5em;
    color: #0077cc;
    text-decoration: none;
}
.job-card a:hover {
    text-decoration: underline;
}

.ki-antwort {
    background: #f9f9f9;
    padding: 1em;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
    margin-bottom: 1.5em;
}

.ki-nachfragen ol {
    padding-left: 1.2em;
}

.inline-nachfrage {
    display: flex;
    align-items: center;
    gap: 0.5em;
    margin-top: 0.5em;
}

.beruf-beispiel {
  margin-top: 0.5em;
  margin-left: 2.5em;
  font-style: italic;
  color: #444;
}

.nachfrageblock {
  background: #f9f9f9;
  padding: 1em;
  margin-bottom: 1.5em;
  border-left: 4px solid #04a145;
  border-radius: 6px;
}

.vorschlag-trennung {
  border: none;
  border-top: 2px solid #ccc;
  margin: 2rem 0;
  width: 100%;
  max-width: 800px;
  opacity: 0.6;
}

.button {
  background-color: #0077cc;
  color: white;
  padding: 10px 10px;
  /* margin: 5px auto 10px auto;  zentriert horizontal automatisch */
  margin-left: 10px;
  margin-right: 10px;
  margin-bottom: 20px;
  margin-top: 10px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;  
}

.button:hover {
  background-color: #499cd6;
}

.button-mehr-dazu {
  background-color: #0077cc;
  color: white;
  padding: 8px 14px;
  border: none;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  display: inline-block;
  /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);  dezenter Schatten */
  /* transition: background 0.2s ease, box-shadow 0.2s ease; */
  text-align: center;
  text-decoration: none;
}

.button-mehr-dazu:hover {
  background-color: #0077cc;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
}


/* Für das neue Design im Abfrage Bereich wie  */

.ki-form {
  display: grid;
  grid-template-columns: auto 2fr;
  row-gap: 4px;       /*Zeilenabstand verändern *************** */
  column-gap: 2px;   
  gap: 6px;
  max-width: 900px;
  margin: auto;
  padding: 24px;
  background: #F2f2f2;                  /*#f2f2f2; */
  border-radius: 12px;
  box-shadow: 4px 6px 15px rgba(0, 0, 0, 0.15);          /* box-shadow: 0 0 15px rgba(0,0,0,0.15);*/
  font-family: sans-serif;
}

.ki-form-koopl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  row-gap: 4px;       /*Zeilenabstand verändern *************** */
  column-gap: 2px;   
  gap: 6px;
  max-width: 1050px;
  margin: auto;
  padding: 24px;
  background: #F2f2f2;                  /*#f2f2f2; */
  border-radius: 12px;
  box-shadow: 4px 6px 15px rgba(0, 0, 0, 0.15);          /* box-shadow: 0 0 15px rgba(0,0,0,0.15);*/
  font-family: sans-serif;
}

.ki-form-koopl-check {
  display: grid;
  grid-template-columns: 1fr;
  row-gap: 4px;       /*Zeilenabstand verändern *************** */
  column-gap: 2px;   
  gap: 6px;
  max-width: 1050px;
  margin: auto;
  padding: 24px;
  background: #F2f2f2;                  /*#f2f2f2; */
  border-radius: 12px;
  box-shadow: 4px 6px 15px rgba(0, 0, 0, 0.15);          /* box-shadow: 0 0 15px rgba(0,0,0,0.15);*/
  font-family: sans-serif;
}

.ki-form-koopl-check h3,
  .ki-form-koopl-check p {
    text-align: center;
    margin: 5px 0;
    margin-left: 25px;
  }

input,
select,
textarea {
  background-color: #ffffff; /*!important;*/
  color: #000000 !important;
  border: 1px solid #999;
}

input::placeholder,
textarea::placeholder {
  color: #555 !important;
  opacity: 1;
}

input:focus,
select:focus {
  outline: 2px solid #005fcc;
}

input[type="text"]:hover,
input[type="number"]:hover,
select:hover,
input[type="text"]:focus,
input[type="number"]:focus,
select:focus {
    background-color: #ffffff !important; 
    color: #000000 !important;
}

.form-group {
  display: contents;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #555 !important;
  opacity: 1 !important;
}

.form-group select::placeholder {
  color: #555 !important;
  opacity: 1 !important;
}


.form-group label {
  align-self: center;
  font-weight: 500;
}

.form-group input,
.form-group select {
  padding: 8px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  width: 100%;
  box-sizing: border-box;
  background-color: #fafafa;
  color: #000000; /* Auch hier schwarze Schrift ergänzen */
}

.double-select {
  display: flex;
  gap: 10px;
}

.full-width {
  grid-column: 1 / -1;
  text-align: left;
}

.sr-only {                  /* Label für screereader only */
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.intern-link {
  color: #005fa3 !important;
  text-decoration: underline;
  font-weight: 600;
}

.intern-link:hover,
.intern-link:focus {
  color: #003b66 !important;
  text-decoration: underline;
  outline: 2px solid #003b99;
  outline-offset: 2px;  
}

/* Optimierung für zweispaltige Formulare */
.ki-form .form-group {
  display: contents; /* ermöglicht, dass label und input nebeneinander im Grid platziert werden */
}


/* ********************   bis hier der neue css code für die Eingabe Maske */ 

/* Das ist speziell für die Datenschutz Checkbox ************************** */
.ki-form .form-group.checkbox-row {
    display: flex;
    align-items: center;
    margin-top: 0px;
}

.ki-form .form-group.checkbox-row input[type="checkbox"] {
    width: 14px;
    height: 14px;
    accent-color: #0073aa;
    cursor: pointer;
    margin-right: 8px;
}


.ki-form label[for="ki_consent"] {
    font-size: 12px;
    color: #000000;
    cursor: pointer;
    margin: 0;
}

.ki-form label[for="ki_karte_aktiv"] {
    font-size: 12px;
    color: #000000;
    cursor: pointer;
    margin: 0;
}

/* Ladebereich für KI-Assistent (Countdown & Animation) nach dem versenden des Formulars */

.ki-login-info {
    display: block;
    margin-top: 0.5em;
    font-size: 0.9em;
    color: #444;
}
.ki-login-info a {
    color: #005d91;
    text-decoration: none;
}
.ki-login-info a:hover {
    text-decoration: underline;
}


#ladebereich {
    display: none;
    text-align: center;
    padding: 2em;
    font-size: 1.2em;
    display: none;
    animation: fadeIn 0.5s ease-in forwards;
}

#ladebereich.show {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
/* xxxx */

.punkte::after {
    content: "";
    display: inline-block;
    animation: punkteAnim 1.5s infinite steps(4);
}

@keyframes punkteAnim {
    0%   { content: "⏳"; }
    25%  { content: "🕐"; }
    50%  { content: "🕜"; }
    75%  { content: "🕑"; }
    100% { content: "🕝"; }
}

#countdown {
    font-weight: bold;
    font-size: 1.4em;
    transition: all 0.3s ease;
}

/* Ende des Countdown Bereichs ********************************   */

/* Start CSS für die Spracheingabe ****************************   */
.mic-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
}

.mic-wrapper input {
  width: 100%;
  padding-right: 2.5em; /* Platz für Icon */
}

.mic-icon1 {
  display: none;
}


.mic-icon {
  display: none;
  position: absolute;
  right: 0.5em;
  top: 50%;
  transform: translateY(-50%);
  background-color: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  font-size: 1.2em;
  cursor: pointer;
  color: #4CAF50;
  padding: 0;
  margin: 0;
  line-height: 1;
  transition: color 0.3s ease, transform 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
}

.mic-icon:hover {
  color: #2e7d32;
  transform: translateY(-50%) scale(1.2);
  background-color: transparent !important;
}

.mic-icon:focus {
  outline: none;
}

.mic-active {
  color: red !important;
}

.on-air-banner {
  position: fixed;
  top: 250px;
  left: 25px;
  background-color: red;
  color: white;
  padding: 8px 12px;
  border-radius: 5px;
  font-weight: bold;
  display: none;
  z-index: 9999;
  transition: background-color 0.3s ease;
}

.on-air-banner.success {
  background-color: #4CAF50; /* grün */
}

/* ==========================================================
   Sprach-Assistent: Consent & Debug Banner (KI Beratungsassistent)
   Fixiert oben links, z-index hoch, einheitliches Design
   ========================================================== */

/* 🟢 Hauptcontainer für Consent-Abfrage */
.speech-consent-wrapper {
  position: fixed;
  top: 210px;
  left: 12px;
  z-index: 99999;
  width: 320px;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
  padding: 14px 16px;
  font-size: 0.95rem;
  color: #333;
}

/* 🔘 Schließen-Button oben rechts im Banner */
.speech-consent-close {
  position: absolute;
  top: 6px;
  right: 10px;
  cursor: pointer;
  color: #888;
  font-weight: bold;
  font-size: 1.2rem;
  line-height: 1;
  transition: color 0.2s ease, transform 0.2s ease;
}

.speech-consent-close:hover {
  color: #333;
  transform: scale(1.2);
}

/* 🔍 Debug-/Statusbanner (Mikrofon + Speech-Prüfung) */
.speech-consent-banner-2 {
  position: fixed;
  top: 400px;       /* gleiche vertikale Position wie Consent */
  left: 12px;       /* gleiche horizontale Ausrichtung */
  z-index: 99999;
  width: 320px;
  background: #f8f9fa;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 8px 10px;
  font-size: 0.9rem;
  color: #444;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  margin-bottom: 10px;
}

/* 🧩 Einwilligungsdialog selbst (Buttons & Text) */
.speech-consent-banner {
  position: fixed;
  top: 210px;       /* gleiche vertikale Position wie Consent */
  left: 12px;       /* gleiche horizontale Ausrichtung */
  z-index: 99999;
  width: 320px;
  background: #f8f9fa;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 8px 10px;
  font-size: 0.9rem;
  color: #444;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  margin-bottom: 10px;
  
}

.speech-consent-banner button {
  background-color: #0073aa;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 6px 12px;
  margin-right: 8px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background-color 0.2s ease;
}

.speech-consent-banner button:hover {
  background-color: #005f8a;
}

/* Ende des CSS für die Spracheingabe ************************ */


#ki-chatbox {
  position: fixed;
  bottom: 110px;
  right: 10px;
  width: 320px;
  max-height: 70vh;
  background: white;
  border: 1px solid #ccc;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
  overflow: hidden;
  z-index: 99; 
  display: flex;
  flex-direction: column;
  transition: height 0.3s ease;
}

#ki-chatbox-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  background: #0077cc;
  color: white;
  font-weight: bold;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.ki-chat-title {
  font-size: 14px;
}

.ki-chat-icons {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 18px;
}

#ki-chatbox-toggle,
#audio-toggle-button {
  cursor: pointer;
}

/* Minimierter Zustand */
#ki-chatbox.minimized {
  height: 40px;
}

#ki-chat-content {
  padding: 10px;
  overflow-y: auto;
  flex: 1;
  font-size: 14px;
}

/* Für kleinere Displays */
@media (max-width: 600px) {
  #ki-chatbox {
    width: 90%;
    right: 5%;
    bottom: 10px;
    max-height: 50vh;
    /* background: lime !important; */
  }
}


@media print {
  .vermeide-seitenumbruch {
    page-break-inside: avoid;
    break-inside: avoid;
    display: block;
  }

  .neue-seite {
    page-break-before: always;
    break-before: page;
  }

  body {
    margin: 0;
    padding: 0;
}
  .block, .job-card {
    break-inside: avoid;
    page-break-inside: avoid;
}
/* Zusätzliche Elemente ausblenden */
.vermeide-seitenumbruch { page-break-inside: avoid; break-inside: avoid; display: block; }
  .neue-seite { page-break-before: always; break-before: page; }
  .block, .job-card { break-inside: avoid; page-break-inside: avoid; }

  /* Zusätzliche Elemente ausblenden, um Druckbereich freizugeben */
  #ki-chatbox,
  #ki-chatbox-header,
  .chatbox-overlay, 
  #accessibility-widget,
  nav.onetap-accessibility,
  .onetap-container-toggle {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    z-index: -999 !important;
  }
}

