/* Ergänzungen für die selbst gehostete Seite (Simply What Is) */

/* Abschnitte nur für Desktop bzw. Mobil – Onepage-Grenze 992 px */
@media (max-width: 992px) {
  .swi-only-d, .swi-hdr-d { display: none !important; }
}
@media (min-width: 993px) {
  .swi-only-m, .swi-hdr-m { display: none !important; }
}

[hidden] { display: none !important; }

/* Kopfzeile: Desktop-Atome und mobile Ansicht nebeneinander im Molekül */
.swi-hdr-m { width: 100%; }

/* Honeypot */
.swi-hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Einwilligungsbanner ---------- */
.swi-consent {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 20000;
  display: flex; justify-content: center; pointer-events: none;
  font-family: 'Red Hat Display', -apple-system, system-ui, sans-serif;
}
.swi-consent__box {
  pointer-events: auto; max-width: 720px; width: 100%; box-sizing: border-box;
  background: #FAF9F6; color: #2A3C41; border: 1px solid rgba(42, 60, 65, .12);
  border-radius: 8px; box-shadow: 0 8px 32px rgba(0, 0, 0, .18); padding: 22px 24px;
  font-size: 15px; line-height: 1.5;
}
.swi-consent__title { margin: 0 0 6px; font-size: 18px; font-weight: 700; }
.swi-consent__text { margin: 0 0 14px; }
.swi-consent__text a { color: #0097B2; }
.swi-consent__opts { margin: 0 0 14px; display: grid; gap: 8px; }
.swi-consent__opt { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.swi-consent__opt input { margin-top: 4px; width: 18px; height: 18px; accent-color: #2A3C41; flex: 0 0 auto; }
.swi-consent__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.swi-consent__btn {
  flex: 1 1 160px; min-height: 44px; padding: 10px 16px; border-radius: 8px; cursor: pointer;
  font: inherit; font-weight: 600; background: #FFFFFF; color: #2A3C41; border: 1.5px solid #2A3C41;
}
.swi-consent__btn:hover, .swi-consent__btn:focus-visible { background: #2A3C41; color: #FFFFFF; outline: none; }
@media (max-width: 600px) {
  .swi-consent { left: 8px; right: 8px; bottom: 8px; }
  .swi-consent__box { padding: 18px 16px; font-size: 14px; }
}

/* ---------- Platzhalter für externe Inhalte ---------- */
.swi-embed { width: 100%; }
.swi-embed__ph {
  box-sizing: border-box; width: 100%; min-height: 420px; padding: 32px 24px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center;
  background: #FAF9F6; color: #2A3C41; border: 1px solid rgba(42, 60, 65, .12); border-radius: 8px;
  font-family: 'Red Hat Display', -apple-system, system-ui, sans-serif; font-size: 16px; line-height: 1.5;
}
.swi-embed__ph--small { min-height: 0; padding: 14px; gap: 8px; width: 150px; font-size: 13px; }
.swi-embed__ph--video { min-height: 0; aspect-ratio: 16 / 9; }
.swi-embed__title { margin: 0; font-size: 20px; font-weight: 700; }
.swi-embed__text { margin: 0; max-width: 460px; }
.swi-embed__text a, .swi-embed__alt, .swi-pe-link { color: #0097B2; }
.swi-embed__btn {
  min-height: 48px; padding: 10px 28px; border: 0; border-radius: 8px; cursor: pointer;
  background: #0097B2; color: #FFFFFF; font: inherit; font-weight: 600;
}
.swi-embed__btn--small { min-height: 36px; padding: 6px 12px; font-size: 13px; }
.swi-embed__btn:hover, .swi-embed__btn:focus-visible { filter: brightness(1.08); outline: 2px solid #2A3C41; outline-offset: 2px; }
.swi-embed__remember { font-size: 14px; display: flex; gap: 8px; align-items: center; cursor: pointer; }
.swi-embed__alt { font-size: 14px; }
.swi-embed--live .tidycal-embed iframe { min-height: 500px; }
.swi-video { position: relative; padding-top: 56.25%; }
.swi-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Guide-Formular in Encharge-Optik ---------- */
.swi-ef { width: 100%; }
.swi-ef__body {
  font-family: 'Open Sans', sans-serif; max-width: 1400px; background-color: #FAF9F6; padding: 43px 65px;
  box-sizing: border-box; font-weight: 400; font-size: 16px; line-height: 17px; color: #000;
}
.swi-ef__row { margin-bottom: 10px; }
.swi-ef__top { margin-bottom: 1rem; line-height: normal; color: #2A3C41; }
.swi-ef__top p { margin: 0; }
.swi-ef__group { margin-bottom: 1rem; }
.swi-ef__label {
  margin-top: .6rem; margin-bottom: .6rem; cursor: pointer; display: flex; gap: 4px;
  line-height: normal; color: #2A3C41;
}
.swi-ef__req { color: red; font-weight: bold; }
.swi-ef__input {
  display: block; width: 100%; height: auto; padding: 6px 12px; font-size: 1rem; font-weight: 400; box-sizing: border-box;
  color: #3B3B3B; background-color: #FFFFFF; background-clip: padding-box; border: 1px solid #C4C4C3; border-radius: 8px;
  box-shadow: rgba(0, 0, 0, .08) 0 1px 1px inset; font-family: inherit; margin: 0;
  transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}
.swi-ef__input:focus { border-color: #80B4F2; outline: none; }
.swi-ef__group--consent { position: relative; margin-top: 25px; margin-bottom: 25px; padding-left: 0; }
.swi-ef__check { width: 20px; height: 20px; position: absolute; left: 0; top: 0; margin: .6rem 0 0; box-sizing: border-box; padding: 0; }
.swi-ef__label--consent { margin-left: 30px; display: block; }
.swi-ef__label--consent a { color: #0097B2; }
.swi-ef__submit { display: flex; justify-content: center; }
.swi-ef__btn {
  background: #0097B2; padding: 10px 40px; color: #FFFFFF; margin-top: 10px; cursor: pointer;
  box-shadow: rgba(255, 255, 255, .15) 0 1px 0 inset, rgba(0, 0, 0, .08) 0 1px 1px;
  display: inline-block; font-weight: 400; text-align: center; vertical-align: middle; user-select: none;
  border: 1px solid transparent; font-size: 1rem; border-radius: 8px; font-family: inherit;
  transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}
.swi-ef__btn:hover { filter: brightness(110%); border-color: #0450DC; }
.swi-ef__btn:focus-visible { box-shadow: rgba(59, 127, 252, .5) 0 0 0 .2rem; outline: 0; }
.swi-ef__error {
  color: #491623; margin-top: 1rem; background-color: #F9E8EC; position: relative; padding: 1rem 1.25rem;
  margin-bottom: 1rem; border-radius: .3125rem; line-height: 1.4;
}
.swi-ef__success { text-align: center; outline: none; }
.swi-ef__icon { margin-top: 50px; }
.swi-ef__msg { margin-top: 25px; font-weight: 400; font-size: 20px; line-height: 24px; color: #2A3C41; }
.swi-ef__msg p { margin: 0 0 12px; }
@media (max-width: 600px) {
  .swi-ef__body { padding: 32px 20px; }
}

/* ---------- Formulare im Onepage-Stil ---------- */
.one-form-validation.swi-err { color: #C0392B; font-size: 14px; line-height: 1.4; padding-top: 6px; }
[aria-invalid="true"] { outline: 1px solid #C0392B; outline-offset: 1px; }
.swi-busy { opacity: .6; pointer-events: none; }
.swi-form-error { color: #C0392B; text-align: center; margin: 16px 0 0; font-family: 'Red Hat Display', sans-serif; }
.swi-success-wrap { outline: none; }
.swi-success {
  text-align: center; color: rgba(var(--color-text, 42,60,65), 1); padding: 24px 8px;
  font-family: 'Red Hat Display', -apple-system, system-ui, sans-serif; font-size: 18px; line-height: 1.5;
}
.swi-success p { margin: 0 0 14px; }
.swi-success__title { font-family: 'Wicked Grit', 'Red Hat Display', sans-serif; font-weight: bold; font-size: 34px; line-height: 1.2; color: #0097B2; }
.swi-success__sig { font-family: '.', 'Red Hat Display', cursive; font-size: 40px; line-height: 1.2; }
.swi-success__person { display: inline-flex; align-items: center; gap: 12px; margin-top: 8px; }
.swi-success__person img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }

/* Fußmenü: Cookie-Einstellungen als Link */
a[data-swi-consent-open] { cursor: pointer; }

/* Rasterlisten: Spalten je Breite schon vor dem Skript (Onepage: Tablet 2, Mobil 1) */
@media (max-width: 768px) {
  .con-kit-component-grid-list[data-swi-cols] > .con-kit-component-grid-list-item { width: 100% !important; }
}
@media (min-width: 769px) and (max-width: 992px) {
  .con-kit-component-grid-list[data-swi-t="2"] > .con-kit-component-grid-list-item { width: calc(100% / 2 - var(--one-kit-component-grid-list-horizontal-space) / 2) !important; }
  .con-kit-component-grid-list[data-swi-t="1"] > .con-kit-component-grid-list-item { width: 100% !important; }
}

/* Seitlicher Überstand einzelner Sektionen (18–50 px, schon im Original): abschneiden statt verschiebbar lassen */
.con-kit-site{overflow-x:clip}
