/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: asott
 * Domain Path: /languages
 */

/* Homepage transparent Header and Menu hooks */
.asott-transparent-header {
  display: inherit;
  visibility: visible;
  width: 100%;
  max-width: none !important;
  position: absolute;
  margin: 0px;
  z-index: 9999;
}

.asott-transparent-header.header-fixed {
  position: relative;
  margin-bottom: 1.5rem;
}

.asott-transparent-header-mobile {
  width: 100%;
  max-width: none !important;
  position: absolute;
  margin: 0px;
  z-index: 9999;
  display: none;
  visibility: hidden;
}

.asott-archive-container h1.page-title span.ct-title-label {
  display: none !important;
  visibility: hidden !important;
}

.asott-archive-container .page-description {
  font-size: 1.2em;
}

.asott-category-searchbar .wp-block-categories-dropdown {
  border: solid 1px #e1e8ed;
  background-color: #fafbfc;
  padding: 0.25rem 0;
}
.asott-category-searchbar .wp-block-categories-dropdown select {
  border: none;
}

.asott-category-searchbar .wp-block-search__inside-wrapper {
  border: solid 1px #e1e8ed;
  background-color: #fafbfc;
}

.asott-category-searchbar .wp-block-search__input {
  font-size: 1em !important;
}

/* ASOTT responsive Hero-Slider Content */
@media (max-width: 1160px) {
  .qcld_hero_content_area .slider-x-lead-title {
    font-size: 1.8em !important;
  }

  .qcld_hero_content_area .slider-x-item-title > p {
    font-size: 0.65em !important;
    line-height: normal !important;
  }
}

@media (max-width: 880px) {
  .qcld_hero_content_area .slider-x-lead-title,
  .qcld_hero_content_area .slider-x-item-title {
    width: 100% !important;
    min-width: 100% !important;
    max-width: none !important;
  }

  .qcld_hero_content_area .slider-x-lead-title {
    font-size: 1.2em !important;
  }

  .qcld_hero_content_area .hero_slider_button > a {
    padding: 5px 15px !important;
    font-size: 0.85em !important;
  }
}

/* ASOTT Home Header – Mobile Hooks */
@media (max-width: 1023px) {
  .asott-transparent-header {
    display: none;
    visibility: hidden;
  }
  .asott-transparent-header.header-fixed {
    position: absolute;
    margin-bottom: 0px;
  }
  .asott-transparent-header-mobile {
    display: block;
    visibility: visible;
    position: relative;
  }

  .asott-transparent-header-mobile.header-fixed {
    margin-bottom: 1rem;
  }
}

.asott-homepage-header {
  text-align: center !important;
}

.asott-homepage-header .mega-menu-wrap {
  background-color: #0d04094b !important;
  backdrop-filter: blur(6px);
  max-width: max-content !important;
  margin: 0 auto !important;
}

.asott-homepage-header .mega-menu-wrap a.mega-menu-link {
  text-shadow: -1px -1px 0px #0d040983;
}
.asott-homepage-header .mega-menu-wrap ul.mega-sub-menu a.mega-menu-link {
  text-shadow: none;
}

h1.page-title {
  text-shadow: 1px 1px 0px rgba(13, 4, 9, 0.2);
}

.asott-icon-ask ::before {
  content: "";
  display: inline-block;
  width: 1.6em;
  height: 1.6em;
  background: no-repeat center/contain
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg'  fill='%23F2A30F' viewBox='0 0 16 16'><path fill-rule='evenodd' d='M4.475 5.458c-.284 0-.514-.237-.47-.517C4.28 3.24 5.576 2 7.825 2c2.25 0 3.767 1.36 3.767 3.215 0 1.344-.665 2.288-1.79 2.973-1.1.659-1.414 1.118-1.414 2.01v.03a.5.5 0 0 1-.5.5h-.77a.5.5 0 0 1-.5-.495l-.003-.2c-.043-1.221.477-2.001 1.645-2.712 1.03-.632 1.397-1.135 1.397-2.028 0-.979-.758-1.698-1.926-1.698-1.009 0-1.71.529-1.938 1.402-.066.254-.278.461-.54.461h-.777ZM7.496 14c.622 0 1.095-.474 1.095-1.09 0-.618-.473-1.092-1.095-1.092-.606 0-1.087.474-1.087 1.091S6.89 14 7.496 14'/></svg>");
  margin-bottom: -0.4em;
}

.asott-logout-icon > a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
}

.asott-logout-icon > a::before {
  content: "";
  display: inline-block;
  width: 1.3em;
  height: 1.3em;
  background: no-repeat center/contain
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230D0409'><path d='M10 17l5-5-5-5v3H3v4h7v3zm9-13H8a2 2 0 00-2 2v4h2V6h11v12H8v-4H6v4a2 2 0 002 2h11a2 2 0 002-2V6a2 2 0 00-2-2z'/></svg>");
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.asott-logout-icon > a:hover::before {
  background: no-repeat center/contain
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2304ADBF'><path d='M10 17l5-5-5-5v3H3v4h7v3zm9-13H8a2 2 0 00-2 2v4h2V6h11v12H8v-4H6v4a2 2 0 002 2h11a2 2 0 002-2V6a2 2 0 00-2-2z'/></svg>");
  opacity: 1;
}

ul.mega-sub-menu li.mega-menu-item {
  padding: 0.35rem 0.85rem !important;
}

ul.mega-sub-menu li.mega-menu-item a::before {
  content: "" !important;
  display: inline-block !important;
  width: 8px !important;
  height: 8px !important;
  margin-right: 8px !important;
  margin-top: 8px !important;
  background-image: url("data:image/svg+xml;utf8,<svg fill='none' stroke='%230D0409' stroke-width='2' viewBox='0 0 8 8' xmlns='http://www.w3.org/2000/svg'><path d='M1 1 L5 4 L1 7'/></svg>") !important;
  background-repeat: no-repeat !important;
  background-size: contain !important;
  transition: transform 0.3s ease, stroke 0.3s ease !important;
  transform: translateX(0) !important;
  opacity: 0.35 !important;
  transition: opacity 0.2s ease !important;
}

/* Hover-Effekt: Pfeil leicht nach links verschieben */
ul.mega-sub-menu li.mega-menu-item a:hover::before,
ul.mega-sub-menu li.mega-menu-item a:focus::before,
ul.mega-sub-menu li.mega-menu-item a:active::before {
  background-image: url("data:image/svg+xml;utf8,<svg fill='none' stroke='%2304ADBF' stroke-width='2' viewBox='0 0 8 8' xmlns='http://www.w3.org/2000/svg'><path d='M1 1 L5 4 L1 7'/></svg>") !important;
  transform: translateX(-3px) !important;
  opacity: 1 !important;
}

/* Optional: leichte Transparenz für Pfeil bei Hover */
#footer-menu.footer-menu-inline .menu li a:hover::before,
#menu-f-menu2-de li.menu-item a:hover::before {
  opacity: 0.9;
}

.um-user-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  line-height: 1;
}
.um-user-ic {
  width: 1.05em;
  height: 1.05em;
  display: inline-block;
  vertical-align: -0.12em;
  fill: currentColor; /* Icon übernimmt Textfarbe */
  opacity: 0.9;
}

.um-form label,
.um-form .um-field-checkbox-option {
  color: #0d0409 !important;
  font-weight: bold;
}

.um-field-half {
  width: auto !important;
}

#footer {
  background-image: url("./assets/asott_footer_bg.png");
  background-repeat: repeat;
}

/* ===== Footer Menu Arrow Styling ===== */
#footer-menu.footer-menu-inline .menu li a,
#menu-f-menu2-de li.menu-item a {
  position: relative;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: color 0.3s ease;
}

/* SVG-Pfeil vor dem Linktext */
#footer-menu.footer-menu-inline .menu li a::before,
#menu-f-menu2-de li.menu-item a::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 8px;
  background-image: url("data:image/svg+xml;utf8,<svg fill='none' stroke='%23cccccc' stroke-width='2' viewBox='0 0 8 8' xmlns='http://www.w3.org/2000/svg'><path d='M1 1 L5 4 L1 7'/></svg>");
  background-repeat: no-repeat;
  background-size: contain;
  transition: transform 0.3s ease, stroke 0.3s ease;
  transform: translateX(0);
}

/* Hover-Effekt: Pfeil leicht nach links verschieben */
#footer-menu.footer-menu-inline .menu li a:hover::before,
#footer-menu.footer-menu-inline .menu li a:focus::before,
#menu-f-menu2-de li.menu-item a:hover::before,
#menu-f-menu2-de li.menu-item a:focus::before {
  transform: translateX(-3px);
}

/* Optional: leichte Transparenz für Pfeil bei Hover */
#footer-menu.footer-menu-inline .menu li a:hover::before,
#menu-f-menu2-de li.menu-item a:hover::before {
  opacity: 0.9;
}

.slider-x-lead-title {
  background: none;
}

.slider-x-lead-title > span {
  background: none !important;
  background-image: url(./assets/asott-title-bg.png) !important;
  background-repeat: no-repeat !important;
  background-position: center right !important;
  padding: 0.8em !important;
  padding-right: 4em !important;
  text-shadow: 2px 2px 0px rgba(13, 4, 9, 0.5);
  max-width: 1370px !important;
}

.slider-x-item-title {
  background: none !important;
}

.slider-x-item-title > p {
  background-color: #04acbfb2 !important;
  padding: 0.8em !important;
  text-shadow: 1px 1px 0px rgba(13, 4, 9, 0.8);
}

.asott-service-grid .wp-block-cover .asott-card-topheader {
  display: flex;
  align-items: center;
  min-height: 100px;
  text-align: center;
  padding: 8px !important;
}

.asott-service-grid .wp-block-cover .asott-card-topheader .asott-headerwrapper {
  margin: 0;
  line-height: 1em;
  text-align: center;
  display: block;
  width: 100%;
  min-width: 100%;
}

.asott-service-grid .wp-block-cover .asott-card-textbox {
  display: block;
  min-height: 150px;
}

.asott-home-projectcards
  .asott-service-grid
  .wp-block-cover
  .asott-card-textbox {
  min-height: 220px;
}

.asott-servicelist-ul {
  list-style: none !important;
}

.asott-servicelist-ul li {
  display: block;
  border-bottom: dotted 1px rgba(255, 255, 255, 0.45);
}

.asott-servicelist-ul li:last-child {
  border-bottom: none;
}

.asott-servicelist-ul li a {
  display: block;
  padding: 0.8em 0.3em !important;
}

/* SVG-Pfeil vor dem Linktext */
.asott-servicelist-ul li a::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 8px;
  background-image: url("data:image/svg+xml;utf8,<svg fill='none' stroke='%23FAFBFC' stroke-width='2' viewBox='0 0 8 8' xmlns='http://www.w3.org/2000/svg'><path d='M1 1 L5 4 L1 7'/></svg>");
  background-repeat: no-repeat;
  background-size: contain;
  transition: transform 0.3s ease, stroke 0.3s ease;
  transform: translateX(0);
}

/* Hover-Effekt: Pfeil leicht nach links verschieben */
.asott-servicelist-ul li a:hover::before,
.asott-servicelist-ul li a:focus::before {
  transform: translateX(-3px);
}

/* Optional: leichte Transparenz für Pfeil bei Hover */
.asott-servicelist-ul li a:hover::before {
  opacity: 0.9;
}

.asott-servicelist-ul li a:hover,
.asott-servicelist-ul li a:active {
  background-color: rgba(0, 0, 0, 0.2);
}

/* ASOTT Service Grid – Mobile Full-Width Cards */
@media (max-width: 768px) {
  .asott-service-grid {
    margin-left: 0px !important;
    margin-right: 0px !important;
    padding-left: 0px !important;
    padding-right: 0px !important;
  }

  .wp-block-columns {
    padding-left: 4px !important;
    padding-right: 4px !important;
  }
}

/* ASOTT Service Cards */

.asott-service-cards {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.asott-service-card {
  box-shadow: rgba(0, 0, 0, 0.2) 6px 6px 9px 0px;
  padding: 0px;
  background-image: url("./assets/asott_br_pattern.png");
  background-position: bottom right;
  background-repeat: no-repeat;
  background-color: #f2f5f7;
}

.asott-service-card .asott-service-card__body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.asott-service-card .asott-service-card__body .asott-service-card__badgebody {
  padding: 0.55rem;
}
.asott-service-card .asott-service-card__body .asott-service-card__badge {
  padding: 0.25rem 0.85rem;
  color: #04adbf;
  border: solid 1px #04adbf;
  margin: 0px;
}

.asott-service-card .asott-service-card__body .asott-service-card__name {
  padding: 0.55rem;
  font-size: 0.85em;
}

.asott-service-card .asott-service-card__body .asott-service-card__title {
  flex-grow: 1;
  padding: 0.55rem;
  font-size: 1.25em;
  line-height: 1.35em;
  font-weight: 500;
  background-color: #f2a30f;
  text-shadow: rgba(0, 0, 0, 0.35) 2px 2px;
  color: white;
}

.asott-service-card .asott-service-card__body .asott-service-card__price {
  padding: 0.25rem 1.55rem 0.25rem 0.55rem;
  align-self: flex-start;
  font-style: italic;
  color: #fafbfc;
  background-color: #0d0409;
  clip-path: polygon(0% 0%, 90% 0%, 100% 50%, 90% 100%, 0 100%);
  margin: 0.95rem 0;
}

.asott-service-card .asott-service-card__body .asott-service-card__actions {
  flex-grow: 0;
  align-self: center;
  padding: 10px;
}

/* ASOTT Card accordion */
.asott-accordion-tab {
  position: relative;
}
.asott-accordion-tab input {
  position: absolute;
  opacity: 0;
  z-index: -1;
}
.asott-accordion-tab__content {
  max-height: 0;
  overflow: hidden;
  transition: all 0.35s;
  padding: 0px !important;
}
.asott-accordion-tab input:checked ~ .asott-accordion-tab__content {
  max-height: 15rem;
  overflow: auto;
  border-bottom: solid 1px #0d040975;
}

.asott-accordion {
  overflow: hidden;
}
.asott-accordion-tab__label {
  display: flex;
  background-color: #04adbf;
  color: #f2f5f7;
  cursor: pointer;
  margin-bottom: 0px;
}
.asott-accordion-tab__label {
  justify-content: space-between;
  padding: 0.25rem;
}
.asott-accordion-tab__label::after {
  content: "\276F";
  width: 1.75em;
  height: 1.75em;
  text-align: center;
  transform-origin: 50% 50%;
  transform: rotate(90deg);
  transition: all 0.35s;
}
.asott-accordion-tab input:checked + .asott-accordion-tab__label::after {
  transform: rotate(270deg);
}
.asott-accordion-tab__content {
  background-color: #f2f5f7e3;
}
.asott-accordion-tab__content p {
  margin: 0px !important;
  padding: 1rem;
  color: #0d0409;
  font-size: small;
}

.asott-accordion-tab
  input:not(:checked)
  + .asott-accordion-tab__label:hover::after {
  animation: bounce 0.5s;
  animation-iteration-count: 2;
}
@keyframes bounce {
  25% {
    transform: rotate(90deg) translate(0.25rem);
  }
  75% {
    transform: rotate(90deg) translate(-0.25rem);
  }
}

/* ASOTT – Details Icon List */
.asott-details-iconlist {
  list-style: none;
  margin: 0;
  padding: 0 5px;
  margin-bottom: 2.5rem !important;
}

.asott-details-iconlist li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0.3rem 0;
  margin-bottom: 10px;
  font-size: 0.75rem;
  line-height: 0.75rem;
  font-weight: 500;
  height: auto;
}

.asott-details-iconlist li::before {
  content: "";
  display: inline-block;
  width: 25px;
  min-width: 25px;
  height: 25px;
}

.asott-details-iconlist li.eu-ai-act-icon::before {
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background: url("./assets/eu-ai-act-icon.svg");
}

.asott-details-iconlist li.compliance-icon::before {
  background: no-repeat center/contain url("./assets/compliance-icon.svg");
}

.asott-details-iconlist li.remote-icon::before {
  background: no-repeat center/contain url("./assets/remote-icon.svg");
}

.asott-details-iconlist li.on-site-service-icon::before {
  background: no-repeat center/contain url("./assets/on-site-service-icon.svg");
}

.asott-details-iconlist li.package-price-icon::before {
  background: no-repeat center/contain url("./assets/package-price-icon.svg");
}

.asott-details-iconlist li.monthly-canceled-icon::before {
  background: no-repeat center/contain url("./assets/monthly-canceled-icon.svg");
}

.asott-details-iconlist li.language-icon::before {
  background: no-repeat center/contain url("./assets/language-icon.svg");
}

.asott-details-iconlist li.online-admin-icon::before {
  background: no-repeat center/contain url("./assets/online-admin-icon.svg");
}

.asott-details-iconlist li.discount-icon::before {
  background: no-repeat center/contain url("./assets/discount-icon.svg");
}

.asott-details-iconlist li.ai-supported-icon::before {
  background: no-repeat center/contain url("./assets/ai-supported-icon.svg");
}

.asott-details-iconlist li.bestseller-icon::before {
  background: no-repeat center/contain url("./assets/bestseller-icon.svg");
}

.asott-details-iconlist li.twenty-four-seven-icon::before {
  background: no-repeat center/contain url("./assets/24-7-icon.svg");
}

.asott-details-iconlist li.certified-icon::before {
  background: no-repeat center/contain url("./assets/certified-icon.svg");
}

.asott-service-languages .asott-inline-av-lan {
  display: inline-flex;
  align-items: center;
  border: solid 2px #04adbf;
  padding: 0.25rem 0.5rem !important;
  margin-top: 0.25rem;
  margin-bottom: 0.25rem;
  border-radius: 999px;
  font-weight: 500;
  color: #04adbf;
  background-color: #f2f5f7;
}

.asott-service-languages .asott-inline-av-lan::before {
  content: "";
  display: inline-block;
  width: 15px;
  min-width: 15px;
  height: 15px;
  margin-right: 0.25rem;
}

.asott-service-languages .asott-inline-av-lan[data-lan="de"]::before {
  background: no-repeat center/contain url("./assets/circle_flag_de.svg");
}
.asott-service-languages .asott-inline-av-lan[data-lan="en"]::before {
  background: no-repeat center/contain url("./assets/circle_flag_en.svg");
}
.asott-service-languages .asott-inline-av-lan[data-lan="hu"]::before {
  background: no-repeat center/contain url("./assets/circle_flag_hu.svg");
}

.asott-discount-lable {
  font-size: 1.25em;
  font-weight: 600;
  padding: 0.25rem;
  background-color: #efde11;
  color: #ed2314;
}

/* === Trusted Box – Grundlayout === */

.trusted-box {
  position: relative;
  color: #f2f5f7;
  padding: 0;
  overflow: hidden;
  content-visibility: auto;
  contain-intrinsic-size: 600px;
}

.trusted-box__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr);
  gap: 1rem;
  align-items: stretch;
  background-image: url("./assets/asott-trust-featured-bg.jpg");
  background-repeat: repeat-x;
  background-position: bottom;
  background-size: contain;
}

/* Bildbereich links */

.trusted-box__media {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  background-image: url("./assets/asott-trust-featured-right.jpg");
  background-position: bottom right;
  background-repeat: no-repeat;
  background-size: cover;
}

.trusted-box__media-inner {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin-left: 0;
  align-self: flex-end;
}

.trusted-box__image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  transform: translateY(
    10%
  ); /* damit das Bild optisch etwas nach unten rutscht */
}

/* Contentbereich rechts */

.trusted-box__content {
  position: relative;
  padding: 2.5rem 0px 3rem;
  background-image: url("./assets/asott-trust-featured-content-bg.jpg");
  background-repeat: repeat-y;
  background-position: right;
}

.trusted-box__headline {
  /*font-size: clamp(2rem, 3vw, 2.4rem);*/
  font-size: 28px;
  margin: 3.5rem 0 3.5rem;
  font-weight: 700;
}

/* Blaue Textlines */

.trusted-box__items {
  position: relative;
  margin-top: 2.5rem;
}

.trusted-box__item {
  position: relative;
  background-image: url("./assets/asott-textbanner-bg.png");
  background-repeat: no-repeat;
  background-position: top right;
  color: #f2f5f7;
  font-size: 1.13rem;
  line-height: 1.4;
  padding: 0.9rem 1.5rem;
  margin-bottom: 0.7rem;
  white-space: normal;
  transform: translateX(40px);
  opacity: 0;
}

/* kleine optische Überlagerung: Linien schauen aus dem Container heraus */
.trusted-box__item:first-child {
  margin-top: 0.5rem;
}
.trusted-box__item:last-child {
  margin-bottom: 1.5rem;
}

/* Button */

.trusted-box__button {
  display: inline-block;
  padding: 0.9rem 2.2rem;
  background: #f2a30f;
  color: #f2f5f7;
  font-weight: 600;
  text-decoration: none;
  font-size: 1rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  transition: transform 0.15s ease, box-shadow 0.15s ease,
    background-color 0.15s ease;
}

.trusted-box__button:hover,
.trusted-box__button:focus {
  background: #f2a30f;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45);
}

/* === Scroll-Animation für die blauen Textlines === */

@keyframes trusted-box-slide-in {
  0% {
    opacity: 0;
    transform: translateX(40px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Klassenschalter: sobald die Section sichtbar ist,
   bekommen alle Items ihre Animation mit Delay. */

.trusted-box--visible .trusted-box__item {
  animation-name: trusted-box-slide-in;
  animation-duration: 0.35s;
  animation-timing-function: ease-out;
  animation-fill-mode: forwards;
  animation-delay: calc(0.5s * var(--i));
}

/* === Responsives Design === */

@media (max-width: 900px) {
  .trusted-box__inner {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .trusted-box__media {
    order: 1; /* Bild über dem Textbereich */
  }

  .trusted-box__media-inner {
    max-width: 100%;
    display: none;
  }

  .trusted-box__image {
    transform: translateY(0);
  }

  .trusted-box__content {
    padding: 0 0 1rem 1rem;
  }

  .trusted-box__inner {
    background-image: url("./assets/asott-trust-featured-bg-900.jpg");
    padding-top: 0;
    margin-top: 0;
  }
  .trusted-box__items {
    margin: 0;
  }
  .trusted-box__item {
    font-size: 0.95rem;
  }

  .trusted-box__headline {
    margin: 0;
    margin-bottom: 1.65rem;
    font-size: 1.65em;
    line-height: 1em;
  }
}

@media (max-width: 600px) {
  .trusted-box__headline {
    text-align: left;
  }

  .trusted-box__button {
    width: 100%;
    margin-right: -50px !important;
    text-align: center;
  }

  .trusted-box__button_wrapper {
    padding-right: 3.5rem;
  }
}

/* ---- Responsive Tabellen: horizontales Scrollen ---- */

.responsive-table-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch; /* weiches Scrollen auf iOS */
}

.responsive-table-wrapper table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px; /* optional: Mindestbreite für gute Darstellung */
}

.responsive-table-wrapper th,
.responsive-table-wrapper td {
  padding: 8px;
  border: 1px solid #f2f5f7;
}

/* Tooltip – Wrapper */
.asott-tooltip {
  display: inline-block;
  position: relative;
  margin-left: 0.4rem;
  cursor: pointer;
}

/* Der Kreis mit dem Fragezeichen */
.asott-tooltip-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.3);
  font-size: 0.8rem;
  line-height: 1;
  font-weight: 600;
  background: #f2f5f7;
  color: #333;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.asott-tooltip-icon:hover {
  background: #04adbf; /* kannst Du auf Deine Primärfarbe anpassen */
  color: #f2f5f7;
  border-color: #04adbf;
}

/* Das Popup selbst */
.asott-tooltip-bubble {
  position: absolute;
  z-index: 9999;
  min-width: 220px;
  max-width: 280px;
  padding: 0.7rem 0.9rem;
  border-radius: 6px;
  background: #222;
  color: #f2f5f7;
  font-size: 0.85rem;
  line-height: 1.4;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  top: 140%;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.12s ease, transform 0.12s ease;
}

/* kleiner Pfeil unter dem Tooltip */
.asott-tooltip-bubble::after {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 0 6px 6px 6px;
  border-style: solid;
  border-color: transparent transparent #222 transparent;
}

/* Sichtbar-Zustand */
.asott-tooltip-bubble.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* Optional: auf sehr kleinen Screens besser zentriert/breiter */
@media (max-width: 480px) {
  .asott-tooltip-bubble {
    left: 50%;
    transform: translateX(-50%);
    max-width: 90vw;
  }
}

/* === ASOTT – Simple Image Lightbox (optimiert für hohe Bilder) === */

.asott-lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: top;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease-out;
  padding: 16px; /* Platz zum Rand */
  box-sizing: border-box;
  overflow-y: auto; /* falls es doch knapp wird → scrollen statt abschneiden */
}

.asott-lightbox-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.asott-lightbox-inner {
  position: relative;
  max-width: 100%;
  max-height: calc(100vh - 32px); /* 32px = 2 * 16px padding */
  display: flex;
  align-items: center;
  justify-content: center;
}

.asott-lightbox-inner img {
  max-width: 100%;
  max-height: 100%;
  height: auto;
  width: auto;
  display: block;
  border-radius: 4px;
}

/* Close-Button */

.asott-lightbox-close {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  font-size: 18px;
  line-height: 32px;
  text-align: center;
  cursor: pointer;
  user-select: none;
}

.asott-lightbox-close:hover {
  background: rgba(0, 0, 0, 0.95);
}

/* Cursor-Styling für Klick-Bild */

.asott-popupimage figure.wp-block-media-text__media > a {
  cursor: zoom-in;
}

.asott-request-confirmation-container {
  max-width: 26rem !important;
  margin: 0px auto !important;
}

/* Sign in and UM */
.asott-signin-container {
  background: #04adbf;
  background: linear-gradient(
    10deg,
    rgba(4, 173, 191, 1) 0%,
    rgba(225, 242, 189, 1) 50%,
    rgba(250, 251, 252, 1) 100%
  );
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 2rem;
  margin-bottom: 2rem !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.11);
  max-width: 500px;
}
.asott-signin-container .um-login,
.asott-signin-container .um-password {
  background: #ffffffe0;
  border: solid 1px #fff;
  padding: 1rem;
  border-radius: 6px;
}

.asott-signin-container label,
.asott-signin-container .um-field-checkbox-option {
  font-weight: 200 !important;
}

.asott-signin-container span.um-req{
  color: #f2a30f !important;
}

.asott-signin-container #um-submit-btn {
  border-radius: 0px !important;
  margin-top: 0.5rem;
  background: #f2a30f;
}

.asott-signin-container #um-submit-btn:hover {
  background: #dd950c;
}

.asott-signin-container a.um-link-alt,
.asott-signin-container .um-icon-android-checkbox-outline {
  color: #04adbf !important;
}

.asott-signin-container .asott-um-loginpage-link,
.asott-signin-container .asott-um-passwordreset-link {
  display: inline-block;
  margin-top: 0.75rem;
}

.asott-signin-container .asott-um-loginpage-link::before {
  content: "";
  display: inline-block;
  width: 1rem;
  height: 1rem;
  background: no-repeat center/contain
    url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="%2304adbf" viewBox="0 0 16 16"><path d="M8 0a8 8 0 1 0 0 16A8 8 0 0 0 8 0m3.5 7.5a.5.5 0 0 1 0 1H5.707l2.147 2.146a.5.5 0 0 1-.708.708l-3-3a.5.5 0 0 1 0-.708l3-3a.5.5 0 1 1 .708.708L5.707 7.5z"/></svg>');
  margin-bottom: -0.15rem;
  margin-right: 0.3rem;
}

.asott-signin-container .um-password input::placeholder {
  font-size: 0.8em;
}

.asott-signin-container .um-login .um-col-alt-b{
  display:none;
}


.asott-contact-wrapper,
.asott-aboutme-wrapper{
  background: #04adbf;
  background: linear-gradient(
    10deg,
    rgba(4, 173, 191, 1) 0%,
    rgba(225, 242, 189, 1) 50%,
    rgba(250, 251, 252, 1) 100%
  );
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  position: relative;
}
