/* Basis-Styling für das Akkordeon */
.accordion-button {
  font-weight: none;              /* fette Schrift für bessere Lesbarkeit */
  font-size: 1.1rem;              /* etwas größere Schrift */
  color: #ffffff;                 /* Textfarbe schwarz */
  background-color: #ffffff;      /* Standard Hintergrundfarbe: weiß */
  box-shadow: none !important;    /* kein Standard-Schatten von Bootstrap */
  border: none !important;        /* keine Umrandung */
  transition: background-color 0.3s ease; /* weicher Übergang bei Hintergrundfarbe */
}

.accordion-button.collapsed {
  background-color: #00937a !important; /* geschlossen: weißer Hintergrund bei #ffffff */
}

.accordion-button:not(.collapsed) {
  background-color: #dee2e6 !important; /* geöffnet: hellgrauer Hintergrund (#dee2e6) */
  color: #000 !important;
}

/* Entfernt Bootstrap's Standard-Pfeil bei Akkordeons */
.accordion-button::after {
  display: none !important;
}

/* Zusätzliche Optimierung für Fokus-Zustand */
.accordion-button:focus {
  box-shadow: none !important;
  border: none !important;
}

/* Styling für das eigene Icon rechts (Pfeil) */
.accordion-icon {
  font-size: 1.25rem;               /* Größe des Icons */
  transition: transform 0.3s ease; /* weiche Rotation beim Auf-/Zuklappen */
   transform: rotate(0deg); /* Standard: Pfeil nach rechts */
}

/* Standardfarbe des Icons im geschlossenen Zustand */
.custom-accordion-button .bi-pencil-square {
  color: white;
}

/* Farbe des Icons, wenn das Akkordeon geöffnet ist */
.custom-accordion-button:not(.collapsed) .bi-pencil-square {
  color: black;
}


/*<!--Für "Tabelle"--> */
    .form-container {
      max-width: 800px;
      margin: 0 auto;
      padding: 20px;
      border-color: #DEE2E6;
    }

    .table {
      width: 100%;
    }

     .form-control:focus, .form-select:focus {
    border-color: #00937a !important; /* Grün */
    box-shadow: none !important; /* Kein blauer Shadow */
    outline: none !important;     /* Kein zusätzlicher Rand */
  }

/*Für "Links wie Datenschutz, Grafik neu laden, Bitte auswählen, placeholder, Ihre Nachricht"-->
Standard-Style (für Desktop)*/

.form-label a,
.mt-2 a {
  color: #555;
  text-decoration: underline;
  text-decoration-style: dotted; /* Desktop: gepunktet */
  transition: all 0.2s ease-in-out;
}
/* Hover-Effekt auf Desktop */
.form-label a:hover,
.mt-2 a:hover {
  color: #00937a;
}
/* Style speziell für Smartphones */
@media (max-width: 768px) {
  .form-label a,
  .mt-2 a {
    text-decoration-style: dotted; /* Mobile: normale Unterstreichung */
  }
}

  .form-label {
    font-size: 16px; /* Schriftgröße */
    color: #444444;   /* Schriftfarbe (z.B. Blau) */
  }

  .form-select {
    font-size: 14px;
    color: #595c5f; /* Textfarbe innerhalb des Dropdowns */
  }

  input::placeholder {
    color: #595c5f;       /* Farbe des Platzhalters */
    font-size: 14px;      /* Schriftgröße des Platzhalters */
   /* font-style: italic; Optional: kursiv */
  }

  .custom-textarea::placeholder {
    color: #595c5f;
    font-size: 14px;
  }
    /* für einzelne hervorgehobene Wörter */
  .hervorgehoben {
    font-family: "Sofia Pro ExtraLight", sans-serif;
    font-optical-sizing: none;
    font-weight: 400;
    font-style: italic;
    color: #000;
    font-size: 1.03rem;
    letter-spacing: 0.03em;     /* Buchstabenabstand */
    line-height: 1.5;           /* Zeilenhöhe */
    /*text-transform: uppercase;   Großbuchstaben */
    /*text-decoration: underline;  Unterstreichen */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1); /* feiner Schatten */
    }

/*<!-- Formular in der breite begrenzt -->*/

.formular-begrenzt {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  padding: 1rem;
}

  .custom-accordion-button {
    justify-content: center !important; /* Zentriert den Inhalt */
    gap: 0.5rem;
    position: relative;
  }
  .custom-accordion-button .icon-toggle {
    position: absolute;
    right: 1rem; /* Immer rechts positioniert */
  }