/* Schloss Reichenow – Sicherheitshinweis v1.0.1
   Alle Regeln sind mit srw- präfixiert. Keine externen Abhängigkeiten. */

.srw-trigger,
.srw-overlay,
.srw-overlay * {
  box-sizing: border-box;
}

.srw-trigger {
  position: fixed;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 9000;
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 220px;
  padding: 13px 19px 13px 13px;
  border: 1px solid #385988;
  border-radius: 3px;
  background: #385988;
  color: #fff;
  font: inherit;
  line-height: 1.2;
  text-align: left;
  box-shadow: 0 10px 30px rgba(30, 50, 80, .20);
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  -webkit-tap-highlight-color: transparent;
}
.srw-trigger:hover { background: #2b466e; transform: translateY(-2px); box-shadow: 0 13px 31px rgba(30, 50, 80, .26); }
.srw-trigger:focus-visible { outline: 3px solid #84a7d8; outline-offset: 4px; }
.srw-trigger__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 50%;
  color: #ffffff;
}
.srw-trigger__text { display: flex; flex-direction: column; gap: 4px; }
.srw-trigger__title { font-size: 14px; font-weight: 700; letter-spacing: .025em; }
.srw-trigger__subtitle { font-size: 11px; font-weight: 400; color: #eaf1fb; }

.srw-overlay[hidden] { display: none !important; }
.srw-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(18, 30, 49, .74);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.srw-dialog {
  position: relative;
  width: min(100%, 745px);
  max-height: min(850px, calc(100vh - 48px));
  max-height: min(850px, calc(100dvh - 48px));
  overflow: auto;
  overscroll-behavior: contain;
  background: #ffffff;
  border: 1px solid #cfdaea;
  border-radius: 4px;
  box-shadow: 0 30px 75px rgba(0,0,0,.29);
  color: #29374b;
  font-family: inherit;
  line-height: 1.65;
  outline: none;
}
.srw-dialog__header {
  position: relative;
  padding: 27px 67px 27px 35px;
  color: #fff;
  background: #385988;
  border-bottom: 4px solid #385988;
}
.srw-dialog__eyebrow {
  margin: 0 0 8px;
  color: #eaf1fb;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.srw-dialog__heading {
  margin: 0;
  color: #fff;
  font-family: inherit;
  font-size: clamp(23px, 4.2vw, 30px);
  line-height: 1.27;
  font-weight: 600;
  letter-spacing: -.014em;
}
.srw-dialog__close {
  position: absolute;
  top: 19px;
  right: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 39px;
  height: 39px;
  padding: 0;
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 2px;
  cursor: pointer;
}
.srw-dialog__close:hover { background: rgba(255,255,255,.14); }
.srw-dialog__close:focus-visible,
.srw-dialog a:focus-visible { outline: 3px solid #385988; outline-offset: 3px; }
.srw-dialog__body { padding: 31px 35px 15px; font-size: 15px; }
.srw-dialog__body p { margin: 0 0 17px; }
.srw-dialog__body strong { font-weight: 700; }
.srw-dialog__body a { color: #385988; font-weight: 650; text-decoration: underline; text-underline-offset: 2px; }
.srw-dialog__body a:hover { color: #234371; }
.srw-dialog__section {
  margin: 25px 0 17px;
  padding: 16px 19px 17px;
  background: #f0f4fa;
  border-left: 4px solid #385988;
}
.srw-dialog__section-title {
  margin: 0 0 10px;
  color: #385988;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
}
.srw-dialog__list { padding: 0 0 0 20px; margin: 0; list-style: disc; }
.srw-dialog__list li { margin: 0 0 10px; padding-left: 2px; }
.srw-dialog__list li:last-child { margin-bottom: 0; }
.srw-dialog__footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 22px;
  padding: 14px 35px 19px;
  background: #f0f4fa;
  color: #4e5f76;
  font-size: 12px;
  line-height: 1.5;
  border-top: 1px solid #dce5f1;
}
.srw-dialog__footer span { display: block; }
body.srw-modal-open { overflow: hidden !important; }

@media (max-width: 600px) {
  .srw-trigger { right: max(12px, env(safe-area-inset-right)); bottom: max(12px, env(safe-area-inset-bottom)); min-width: 0; padding: 10px 13px 10px 10px; gap: 10px; }
  .srw-trigger__icon { width: 35px; height: 35px; flex-basis: 35px; }
  .srw-trigger__title { font-size: 13px; }
  .srw-trigger__subtitle { font-size: 10px; }
  .srw-overlay { padding: 12px; align-items: center; }
  .srw-dialog { max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); }
  .srw-dialog__header { padding: 20px 54px 22px 22px; }
  .srw-dialog__close { top: 14px; right: 13px; width: 34px; height: 34px; }
  .srw-dialog__heading { font-size: 23px; }
  .srw-dialog__body { padding: 23px 22px 8px; font-size: 14px; }
  .srw-dialog__section { padding: 14px 15px; margin: 21px 0 17px; }
  .srw-dialog__section-title { font-size: 18px; }
  .srw-dialog__footer { padding: 13px 22px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .srw-trigger { transition: none; }
  .srw-trigger:hover { transform: none; }
}
