/* =========================================================
   SELBSTHILFE-BLK – CUSTOM CSS
   Enfold Child Theme
   ========================================================= */


/* =========================================================
   1. TYPOGRAFIE & GRUNDLAYOUT
   ========================================================= */

body {
  font-family: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
  color: #fff;
}

main {
  min-height: 600px !important;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 600;
  color: #fff;
  margin-top: 0.8em;
  margin-bottom: 0.4em;
  line-height: 1.3;
}

h1 { font-size: 30px; }
h2 { font-size: 28px; }
h3 { font-size: 22px; }
h4 { font-size: 20px; }

h5 {
  display: flex;
  align-items: flex-end;
  color: #e0e0e0;
  margin-bottom: 10px;
}

h5::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e0e0e0;
  margin-left: 10px;
}

a {
  color: #ffffff;
  word-break: break-word;
  overflow-wrap: anywhere;
  transition: color 0.3s ease;
  text-decoration: none !important;
}

a:hover {
  color: #f5f5f5;
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
  color: #e0e0e0;
  text-decoration: none !important;
  transition: color 0.3s ease;
}

h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover {
  color: #f5f5f5;
}


/* =========================================================
   2. HEADER / META / MENÜ
   ========================================================= */

#top #wrap_all .header_color .container_wrap_meta {
  background-color: #1f1f1f !important;
}

#top #wrap_all .header_color .sub_menu ul li a:hover,
#top #wrap_all .header_color .sub_menu ul li a,
#top #wrap_all .header_color .sub_menu ul li {
  font-size: 16px !important;
  text-decoration: none;
}


/* =========================================================
   3. CAPTIONS / OVERLAYS / BILDKACHELN
   ========================================================= */

.caption_bottom h2 {
  font-size: 43px;
  line-height: 2.2em;
  text-shadow:
    rgb(0, 0, 0) 0px 1px 1px,
    rgb(0, 0, 0) 0px -1px 1px,
    rgb(0, 0, 0) 1px 0px 1px,
    rgb(0, 0, 0) -1px 0px 1px;
}

@media (max-width: 479px) {
  .caption_bottom h2 {
    font-size: 30px;
    line-height: 1.8em;
  }
}

.kachel-titel {
  position: relative;
  display: inline-block;
  overflow: hidden;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.kachel-titel img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}

.kachel-titel:hover img {
  transform: scale(1.05);
}

.kachel-titel .overlay-gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0.05));
  z-index: 1;
}

.kachel-titel .overlay-text {
  position: absolute;
  bottom: 12px;
  left: 15px;
  color: #fff;
  font-size: 1.2em;
  font-weight: 600;
  z-index: 2;
  text-shadow: 0 2px 4px rgba(0,0,0,0.6);
}

.avia-image-container .av-image-caption-overlay-center {
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  padding: 10px 15px !important;
  box-sizing: border-box !important;
  text-align: left !important;
  color: #ffffff;
  font-size: 24px;
  font-weight: 600;
  text-shadow: 0 1px 4px rgba(0,0,0,0.6);
  background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0)) !important;
  display: block !important;
}

.avia-image-container .av-image-caption-content {
  padding: 0 !important;
  margin: 0 !important;
}

.avia-image-caption-overlay-center,
.avia-image-caption-overlay {
  position: absolute !important;
}

.shblk-card-imgwrap {
  display: block;
}

.shblk-card-img {
  width: 100%;
  height: auto;
  max-height: 220px;
  object-fit: contain;
}


/* =========================================================
   4. ALLGEMEINE FORMULARE / ENFOLD INPUTS / SUCHE
   ========================================================= */

#top .main_color input[type='text'],
#top .main_color input[type='input'],
#top .main_color input[type='email'],
#top .main_color textarea,
#top .main_color select {
  background-color: #f8f8f8 !important;
  color: #000000;
  border-color: #e1e1e1;
}

#top .main_color input[type='text']:focus,
#top .main_color input[type='email']:focus,
#top .main_color textarea:focus {
  background-color: #ffffff !important;
}

#top input::-webkit-input-placeholder,
#top textarea::-webkit-input-placeholder {
  color: #888888 !important;
  opacity: 1;
}

#top input::-moz-placeholder,
#top textarea::-moz-placeholder {
  color: #888888 !important;
  opacity: 1;
}

#top input:-ms-input-placeholder,
#top textarea:-ms-input-placeholder {
  color: #888888 !important;
  opacity: 1;
}

#searchform input[type="text"],
input.search-field,
.avia-search input[type="search"] {
  background-color: #f9f9f9;
  color: #111;
  border: 1px solid #ccc;
  padding: 10px;
  border-radius: 5px;
}

#searchform input[type="submit"],
input.search-submit,
.avia-search-submit {
  background-color: #1f1f1f;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
}

#searchform input[type="submit"]:hover,
input.search-submit:hover,
.avia-search-submit:hover {
  background-color: #000000;
}

#searchform input[type="text"]:focus,
input.search-field:focus,
.avia-search input[type="search"]:focus {
  outline: none;
  border-color: #005b8f;
  box-shadow: 0 0 5px rgba(0, 91, 143, 0.5);
}


/* =========================================================
   5. CUSTOM DARK FORM
   ========================================================= */

.custom-dark-form form {
  background-color: #454545 !important;
  padding: 20px !important;
  border-radius: 12px !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  color: #fff !important;
  font-family: "Segoe UI", sans-serif !important;
}

.custom-dark-form label {
  display: block !important;
  margin-bottom: 4px !important;
  font-weight: 600 !important;
}

.custom-dark-form input[type="text"],
.custom-dark-form input[type="email"],
.custom-dark-form input[type="password"],
.custom-dark-form input[type="url"],
.custom-dark-form textarea,
.custom-dark-form select {
  width: 100% !important;
  padding: 8px 10px !important;
  margin-bottom: 12px !important;
  background-color: #eee !important;
  border: 1px solid #ccc !important;
  color: #222 !important;
  border-radius: 6px !important;
  transition: all 0.3s ease !important;
  font-size: 1em !important;
}

.custom-dark-form input:focus,
.custom-dark-form textarea:focus,
.custom-dark-form select:focus {
  outline: none !important;
  border-color: #09f !important;
  background-color: #fff !important;
}

.custom-dark-form ::placeholder {
  color: #454545;
  opacity: 1;
}

.custom-dark-form input::-webkit-input-placeholder,
.custom-dark-form textarea::-webkit-input-placeholder {
  color: #454545;
}

.custom-dark-form input::-moz-placeholder,
.custom-dark-form textarea::-moz-placeholder {
  color: #454545;
  opacity: 1;
}

.custom-dark-form input:-ms-input-placeholder,
.custom-dark-form textarea:-ms-input-placeholder {
  color: #454545;
}

.custom-dark-form input[type="checkbox"],
.custom-dark-form input[type="radio"] {
  accent-color: #66ffff;
}

.custom-dark-form .button,
.custom-dark-form a.button,
.custom-dark-form button.button,
.custom-dark-form input.button,
.custom-dark-form .acf-button,
.custom-dark-form .acf-actions .button,
.custom-dark-form .acf-file-uploader .button,
.custom-dark-form #respond input#submit,
.custom-dark-form #respond button[type="submit"] {
  background-color: #1f1f1f !important;
  color: #e0e0e0 !important;
  padding: 10px 18px !important;
  border: none !important;
  border-radius: 8px !important;
  font-weight: bold !important;
  font-size: 1em !important;
  cursor: pointer !important;
  transition: background-color 0.3s ease, color 0.3s ease !important;
  font-family: "Segoe UI", sans-serif !important;
}

.custom-dark-form .button:hover,
.custom-dark-form a.button:hover,
.custom-dark-form button.button:hover,
.custom-dark-form input.button:hover,
.custom-dark-form .acf-button:hover,
.custom-dark-form .acf-actions .button:hover,
.custom-dark-form .acf-file-uploader .button:hover,
.custom-dark-form #respond input#submit:hover,
.custom-dark-form #respond button[type="submit"]:hover {
  background-color: #000000 !important;
  color: #66ffff !important;
}


/* =========================================================
   6. CUSTOM DARK FORM – ZUSATZELEMENTE / ACF
   ========================================================= */

.custom-dark-form .acf-field {
  border: none !important;
  box-shadow: none !important;
}

.acf-field {
  border-bottom: none !important;
  box-shadow: none !important;
}

.custom-dark-form .acf-table,
.custom-dark-form .acf-table thead,
.custom-dark-form .acf-table tbody,
.custom-dark-form .acf-table tr,
.custom-dark-form .acf-table th,
.custom-dark-form .acf-table td {
  background: #454545 !important;
  color: #fff !important;
  border-color: rgba(255,255,255,0.15) !important;
}

.custom-dark-form .acf-table thead th {
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: 12px !important;
}

.custom-dark-form .acf-row-handle,
.custom-dark-form .acf-row-handle.order,
.custom-dark-form .acf-row-handle.remove {
  background: #3f3f3f !important;
  color: #fff !important;
  border-color: rgba(255,255,255,0.15) !important;
}

.custom-dark-form .acf-repeater .acf-actions {
  background: #454545 !important;
  border-color: rgba(255,255,255,0.25) !important;
}

.custom-dark-form .acf-icon {
  color: #fff !important;
}

.custom-dark-form .acf-checkbox-list,
.custom-dark-form .acf-checkbox-list li,
.custom-dark-form .acf-checkbox-list label,
.custom-dark-form .acf-radio-list,
.custom-dark-form .acf-radio-list li,
.custom-dark-form .acf-radio-list label {
  color: #ffffff !important;
}

.custom-dark-form .acf-taxonomy-field,
.custom-dark-form .acf-taxonomy-field * {
  color: #ffffff !important;
}


/* =========================================================
   7. TINYMCE / EDITOR
   ========================================================= */

.mce-container .mce-btn {
  background-color: #333 !important;
  border: 0 solid #666 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  transition: all 0.2s ease-in-out;
  padding: 2px 2px !important;
}

.mce-container .mce-btn:hover {
  background-color: #333 !important;
  border-color: #666 !important;
}

.mce-container .mce-btn button,
.mce-container .mce-btn span,
.mce-container .mce-btn i,
.mce-container .mce-btn svg {
  color: #fff !important;
  fill: #fff !important;
  font-size: 14px !important;
  font-weight: bold;
  text-shadow: none !important;
}

.mce-container .mce-toolbar-grp {
  background-color: #2c2c2c !important;
  border: 1px solid #444 !important;
  padding: 6px !important;
}


/* =========================================================
   8. AUTOCOMPLETE
   ========================================================= */

.ui-autocomplete {
  position: absolute;
  z-index: 1000;
  background-color: #fff;
  border: 1px solid #ccc;
  max-height: 200px;
  overflow-y: auto;
  overflow-x: hidden;
  font-size: 14px;
  padding: 0;
  margin-top: 2px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.ui-menu-item-wrapper {
  padding: 8px 12px;
  cursor: pointer;
}

.ui-menu-item-wrapper:hover {
  background-color: #f0f0f0;
}


/* =========================================================
   9. FLYER / DOWNLOAD-BEREICHE
   ========================================================= */

.custom-dark-form .custom-flyer-button {
  display: inline-block;
  background-color: #1f1f1f;
  color: #e0e0e0;
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease;
  font-family: "Segoe UI", sans-serif;
}

.custom-dark-form .custom-flyer-button:hover {
  background-color: #000000;
  color: #66ffff;
}

.custom-dark-form .custom-flyer-img-link {
  max-height: 150px;
  height: auto;
  display: inline-block;
  border-radius: 8px;
  transition: transform 0.3s ease;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.custom-dark-form .custom-flyer-img-link:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(0,255,255,0.4);
}

.flyer-button-wrapper {
  display: flex;
  gap: 20px;
  align-items: flex-end;
  flex-wrap: wrap;
  margin: 30px 0;
}

.flyer-button-link {
  display: block;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
}

.flyer-button-link:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(0,255,255,0.4);
}

.flyer-button-link img.custom-flyer-img-link {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.flyer-button-link.hoch {
  width: 130px;
}

.flyer-button-link.quer {
  width: 185px;
}


/* =========================================================
   10. UMKREISSUCHE
   ========================================================= */

.umkreissuche-formular {
  background: #454545 !important;
  padding: 12px !important;
  border-radius: 12px !important;
  color: #fff !important;
  font-family: "Segoe UI", sans-serif !important;
  display: grid !important;
  gap: 8px !important;
}

.umkreissuche-formular .such-zeile {
  display: grid !important;
  grid-template-columns: 1fr auto !important;
  gap: 10px !important;
  align-items: center !important;
}

.link-erweiterte-suche {
  font-size: 0.9em !important;
  margin-top: -4px !important;
}

.link-erweiterte-suche a {
  color: #66ffff !important;
  text-decoration: none !important;
}

.erweiterte-suche {
  max-height: 0 !important;
  overflow: hidden !important;
  transition: max-height 0.4s ease, padding 0.3s ease !important;
  display: grid !important;
  gap: 8px !important;
  padding: 0 !important;
}

.erweiterte-suche.active {
  max-height: 500px !important;
  padding: 8px 0 !important;
}

.erw-zeile-1 {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 10px !important;
}

.erw-zeile-2 {
  grid-column: 1 / -1 !important;
}

.umkreissuche-formular label {
  display: flex !important;
  flex-direction: column !important;
  font-weight: 600 !important;
  gap: 4px !important;
  margin: 0 !important;
}

.umkreissuche-formular select,
.umkreissuche-formular input {
  padding: 6px !important;
  border-radius: 6px !important;
  border: 1px solid #ccc !important;
  font-size: 1em !important;
  background: #fff !important;
  color: #222 !important;
  height: 40px !important;
  box-sizing: border-box !important;
}

.erw-zeile-2 input[type="text"] {
  width: 100% !important;
  max-width: 100% !important;
  height: 40px !important;
}

.umkreissuche-formular button {
  padding: 0 16px !important;
  background: #1f1f1f !important;
  color: #e0e0e0 !important;
  border-radius: 6px !important;
  border: none !important;
  font-weight: bold !important;
  cursor: pointer !important;
  height: 40px !important;
  align-self: center !important;
}

.umkreissuche-formular button:hover {
  background: #000 !important;
  color: #66ffff !important;
}

@media (max-width: 768px) {
  .umkreissuche-formular .such-zeile,
  .erw-zeile-1 {
    grid-template-columns: 1fr !important;
  }

  .erw-zeile-2 {
    grid-column: auto !important;
  }
}


/* =========================================================
   11. EIGENE ANZEIGEN / TOGGLE / HEADER
   ========================================================= */

.anzeige-box {
  padding: 20px;
  border-bottom: 1px solid #ddd;
}

.anzeige-box:last-child {
  border-bottom: none;
}

.anzeige-zeile {
  display: flex;
  justify-content: space-between;
  margin-top: 0;
  font-size: 14px;
}

.post-header {
  font-weight: bold;
  font-size: 12px;
  width: 100%;
}

.post-header a {
  text-decoration: none;
  color: inherit;
}

.switch {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 18px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .3s;
  border-radius: 18px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 12px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .3s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: #4caf50;
}

input:checked + .slider:before {
  transform: translateX(22px);
}

body.single-anzeige .template-page.content {
  margin-top: 5px !important;
  padding-top: 5px !important;
}

body.single-anzeige .av-content-small {
  margin-top: 0 !important;
  padding-top: 0 !important;
}


/* =========================================================
   12. VERANSTALTUNGEN
   ========================================================= */

.veranstaltungen-monatsliste {
  margin: 2em 0;
}

.monatstitel {
  font-size: 1.6em;
  margin-top: 2em;
  border-bottom: 2px solid #ccc;
  padding-bottom: 0.2em;
}

.veranstaltung-zeile {
  display: flex;
  align-items: flex-start;
  gap: 1em;
  padding: 1em 0;
  border-bottom: 1px solid #eee;
}

.veranstaltung-zeile .tag {
  width: 3em;
  font-weight: bold;
  font-size: 1.2em;
}

.veranstaltung-zeile .info {
  flex-grow: 1;
}

.veranstaltung-zeile .info .titel a {
  font-weight: bold;
  color: #ffffff;
  text-decoration: none;
}

.veranstaltung-zeile .info .details {
  font-size: 0.9em;
  color: #e0e0e0;
}

.veranstaltung-zeile .bild img {
  width: auto;
  height: auto;
  max-width: 200px;
  max-height: 175px;
  border-radius: 6px;
}

.veranstaltungen-pagination {
  margin-top: 2em;
  text-align: center;
}

.veranstaltungen-pagination a {
  margin: 0 5px;
  padding: 5px 10px;
  background: #eee;
  color: #333;
  text-decoration: none;
  border-radius: 4px;
}

.veranstaltungen-pagination a.active {
  background: #004c92;
  color: white;
}


/* Laufzeiten */
.laufende-angebote-block {
  margin: 0 0 12px 0;
  padding: 8px 10px;
  border-left: 3px solid rgba(255,255,255,0.25);
  background: transparent;
  border-radius: 0;
}

.laufende-angebote-block .laufzeit-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #66ffff;
  margin: 0.6rem 0 0.85rem;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  padding-bottom: 4px;
}

.laufende-angebot-zeile {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 0.9rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px dashed rgba(255,255,255,0.10);
}

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

.laufende-angebot-zeile .bild img {
  border-radius: 6px;
  width: 64px;
  height: 64px;
  object-fit: cover;
}

.laufende-angebot-zeile .info {
  display: flex;
  flex-direction: column;
}

.laufende-angebot-zeile .titel a {
  color: #66ffff;
  font-weight: 600;
  text-decoration: underline;
  font-size: 1rem;
}

.laufende-angebot-zeile .titel a:hover {
  color: #99ffff;
  text-decoration: none;
}

.laufende-angebot-zeile .details {
  font-size: 0.87rem;
  opacity: 0.85;
  margin-top: 3px;
  color: #ccc;
}

@media (max-width: 768px) {
  .veranstaltung-zeile {
    flex-direction: column;
    align-items: flex-start;
  }

  .veranstaltung-zeile .tag {
    width: auto;
    margin-bottom: 0.5em;
  }

  .veranstaltung-zeile .bild img {
    max-width: 100%;
    height: auto;
    max-height: none;
  }
}


/* =========================================================
   13. HILFSANGEBOTE
   ========================================================= */

.hilfsangebot-liste {
  margin: 1.5rem 0;
}

.hilfsangebot-eintrag {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  align-items: flex-start;
}

.hilfsangebot-thumb {
  flex-shrink: 0;
  width: 180px;
}

.hilfsangebot-thumb img,
.hilfsangebot-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.hilfsangebot-titel {
  margin: 0 0 .4rem;
  font-size: 1.1rem;
}

.hilfsangebot-titel a {
  text-decoration: none;
}

.hilfsangebot-text {
  line-height: 1.45;
}

.hilfsangebot-link {
  display: flex;
  flex-direction: row;
  gap: 20px;
  text-decoration: none;
  color: inherit;
}

.hilfsangebot-link:hover .hilfsangebot-titel {
  text-decoration: underline;
}

.hilfsangebot-pagination {
  text-align: center;
  margin-top: 30px;
}

.hilfsangebot-pagination .pagination-link {
  display: inline-block;
  padding: 8px 12px;
  margin: 0 4px;
  background: #1f1f1f;
  border: 0 solid #ccc;
  color: #e0e0e0;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.hilfsangebot-pagination .pagination-link:hover,
.hilfsangebot-pagination .pagination-link.current {
  background: #000000;
  color: #fff;
}

.hilfsangebot-pagination .pagination-link.current {
  border-color: #000000;
}

@media (max-width: 768px) {
  .hilfsangebot-eintrag,
  .hilfsangebot-link {
    flex-direction: column;
    gap: 12px;
  }

  .hilfsangebot-thumb {
    width: 100%;
  }
}


/* =========================================================
   14. CUSTOM BACK HEADER
   ========================================================= */

.custom-back-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  font-size: 1.1em;
  color: #fff;
  gap: 0.6em;
  position: relative;
  margin-bottom: 0.8em;
  flex-wrap: nowrap;
}

.custom-back-header .title {
  font-weight: 600;
  white-space: nowrap;
  position: relative;
}

.custom-back-header .line {
  flex-grow: 1;
  height: 2px;
  background-color: rgba(255, 255, 255, 0.8);
  margin-left: 0.3em;
  margin-right: 0.3em;
  align-self: flex-end;
  margin-bottom: 6px;
}

.custom-back-header a.back-link {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.custom-back-header a.back-link:hover {
  color: #ccc;
}

.custom-back-header.v2 .separator {
  color: rgba(255,255,255,0.7);
}

@media (max-width: 768px) {
  .custom-back-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2em;
  }

  .custom-back-header .line {
    width: 100%;
    height: 2px;
    margin: 0.2em 0 0 0;
  }

  .custom-back-header a.back-link {
    order: -1;
    font-size: 1em;
  }

  .custom-back-header .title {
    white-space: normal;
  }
}


/* =========================================================
   15. FRONT END PM (BESTAND)
   ========================================================= */

#fep-header,
.fep-avatar,
.fep-avatar-p,
.fep-avatar-1,
.fep-avatar-2,
#fep-content-single-sidebar {
  display: none !important;
}

#fep-wrapper,
.fep-content,
.fep-content-single,
.fep-content-single-main,
.fep-message,
.fep-per-message,
.fep-form,
.fep-form-field {
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

#fep-wrapper input[type="text"],
#fep-wrapper input[type="search"],
#fep-wrapper input[type="email"],
#fep-wrapper input[type="password"],
#fep-wrapper input[type="number"],
#fep-wrapper input[type="date"],
#fep-wrapper input[type="time"],
#fep-wrapper select,
#fep-wrapper textarea {
  background-color: #ffffff !important;
  color: #000000 !important;
  border: 1px solid #ccc !important;
}

#fep-wrapper input[type="submit"],
#fep-wrapper input[type="button"],
#fep-wrapper button,
#fep-wrapper .fep-button {
  background-color: #1f1f1f !important;
  color: #ffffff !important;
  border: 0 solid #ccc !important;
  transition: background-color 0.3s ease, color 0.3s ease;
}

#fep-wrapper input[type="submit"]:hover,
#fep-wrapper input[type="button"]:hover,
#fep-wrapper button:hover,
#fep-wrapper .fep-button:hover {
  background-color: #000000 !important;
  color: #ffffff !important;
}

#fep-messagebox-search-form input[type="search"] {
  background-color: #ffffff !important;
  color: #000000 !important;
}

#fep-button {
  background: none !important;
  color: #1f1f1f !important;
  padding: 6px 10px;
  border-radius: 4px;
}

#fep-button:hover {
  background-color: #000000 !important;
}


/* =========================================================
   16. LOGIN
   ========================================================= */

.custom-login-form {
  max-width: 400px;
  margin: 0 auto;
  padding: 20px;
  background: #f4f4f4;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.custom-login-form input {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.custom-login-form button {
  width: 100%;
  padding: 10px;
  background: #0073aa;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.custom-login-form button:hover {
  background: #005a8c;
}


/* =========================================================
   17. UMFRAGEN
   ========================================================= */

.umfrage-box {
  background: rgba(255,255,255,0.05) !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  border-radius: 12px !important;
  padding: 12px 14px !important;
  margin: 14px 0 18px 0 !important;
  color: #f2f2f2 !important;
}

.umfrage-box .umfrage-form {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.umfrage-box .umfrage-form * {
  box-shadow: none !important;
}

.umfrage-frage {
  font-weight: 700 !important;
  font-size: 16px !important;
  margin: 0 0 10px 0 !important;
  color: #ffffff !important;
}

.umfrage-box .umfrage-option {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 6px 10px !important;
  margin: 4px 0 !important;
  border-radius: 10px !important;
  cursor: pointer !important;
  user-select: none !important;
  background: transparent !important;
  border: 1px solid rgba(255,255,255,0.14) !important;
}

.umfrage-box .umfrage-option:hover {
  background: rgba(255,255,255,0.06) !important;
  border-color: rgba(255,255,255,0.20) !important;
}

.umfrage-box .umfrage-option-text {
  line-height: 1.2 !important;
  font-weight: 600 !important;
  color: #f2f2f2 !important;
  opacity: 1 !important;
}

.umfrage-box .umfrage-option input[type="radio"] {
  -webkit-appearance: none !important;
  appearance: none !important;
  width: 18px !important;
  height: 18px !important;
  border-radius: 999px !important;
  border: 2px solid rgba(255,255,255,0.60) !important;
  background: transparent !important;
  display: inline-grid !important;
  place-content: center !important;
  margin: 0 !important;
  flex: 0 0 auto !important;
}

.umfrage-box .umfrage-option input[type="radio"]::before {
  content: "" !important;
  width: 10px !important;
  height: 10px !important;
  border-radius: 999px !important;
  background: #66ffff !important;
  transform: scale(0) !important;
  transition: transform .12s ease-in-out !important;
}

.umfrage-box .umfrage-option input[type="radio"]:checked {
  border-color: #66ffff !important;
}

.umfrage-box .umfrage-option input[type="radio"]:checked::before {
  transform: scale(1) !important;
}

.umfrage-box .umfrage-option.is-selected {
  background: rgba(102,255,255,0.10) !important;
  border-color: rgba(102,255,255,0.35) !important;
}

.umfrage-box .umfrage-option.is-selected .umfrage-option-text {
  color: #66ffff !important;
}

.umfrage-submit {
  margin-top: 10px !important;
}

.umfrage-ergebnis {
  margin-top: 12px !important;
}

.umfrage-result {
  margin: 10px 0 !important;
}

.umfrage-result-head {
  display: flex !important;
  justify-content: space-between !important;
  align-items: baseline !important;
  gap: 12px !important;
  margin: 0 0 6px 0 !important;
}

.umfrage-result-label {
  font-weight: 600 !important;
  color: #f2f2f2 !important;
  line-height: 1.2 !important;
}

.umfrage-result-percent {
  font-weight: 700 !important;
  color: #66ffff !important;
  white-space: nowrap !important;
}

.umfrage-result-bar {
  height: 12px !important;
  border-radius: 999px !important;
  overflow: hidden !important;
  background: rgba(255,255,255,0.12) !important;
  border: 1px solid rgba(255,255,255,0.10) !important;
}

.umfrage-result-bar span {
  display: block !important;
  height: 100% !important;
  width: 0;
  border-radius: 999px !important;
  background: linear-gradient(90deg, rgba(102,255,255,0.55) 0%, rgba(102,255,255,0.9) 100%);
  transition: width 1.8s ease !important;
}

.umfrage-total,
.umfrage-counter {
  margin-top: 12px !important;
  font-size: 13px !important;
  color: rgba(255,255,255,0.80) !important;
}

.umfrage-multi-block {
  margin: 0 0 18px 0;
}

.umfrage-multi-block:last-child {
  margin-bottom: 0;
}

.umfrage-quiz-score {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(102,255,255,0.08);
  border: 1px solid rgba(102,255,255,0.22);
}

.umfrage-quiz-score-title {
  font-size: 16px;
  font-weight: 700;
  color: #f2f2f2;
  margin-bottom: 4px;
}

.umfrage-quiz-score-text {
  font-size: 14px;
  color: rgba(255,255,255,0.85);
}


/* =========================================================
   18. SONSTIGE KLEINE HELFER
   ========================================================= */

.anzeige-header-line {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1rem;
}

.anzeige-titel {
  font-weight: 600;
  color: white;
  margin: 0;
  white-space: nowrap;
}

.linie {
  flex-grow: 1;
  height: 1px;
  background-color: white;
  margin-top: 0.2em;
}

#submit_comment {
  background-color: #1f1f1f;
  color: #e0e0e0;
  padding: 10px 18px;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1em;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-family: "Segoe UI", sans-serif;
}

#submit_comment:hover {
  background-color: #000000;
  color: #66ffff;
}
