/* Sigl – Projekt anfragen | Elementor Free | bewusst ohne externe Fonts */
:root {
  --skpa-charcoal: #383838;
  --skpa-charcoal-hover: #252525;
  --skpa-red: #b22222; /* ausschließlich als kleiner Überschriften-Akzent */
  --skpa-gray: #676767;
  --skpa-light: #f5f5f5;
  --skpa-line: #dddddd;
  --skpa-white: #fff;
}

/* Startseite: weiße Kachel wie die anderen Logo-Kacheln.
   Mit dem Elementor-Shortcode-Widget frei platzierbar. */
.skpa-home-card,
.skpa-home-card * ,
.skpa-float,
.skpa-float *,
.skpa-modal,
.skpa-modal * { box-sizing: border-box; }

.skpa-home-card {
  width: min(100%, 360px);
  margin-inline: auto;
  padding: 26px 24px 22px;
  background: var(--skpa-white);
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  box-shadow: 0 12px 36px rgba(20, 20, 20, .09);
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 13px;
  text-align: center;
  font-family: inherit;
}
.skpa-home-card__eyebrow,
.skpa-kicker {
  color: var(--skpa-red);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  line-height: 1.3;
}
.skpa-home-card__subtext {
  color: var(--skpa-gray);
  font-size: 13px;
  line-height: 1.5;
}

.skpa-button,
.skpa-submit {
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid var(--skpa-charcoal);
  background: var(--skpa-charcoal);
  color: #fff;
  font-family: inherit;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .005em;
  line-height: 1.3;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-decoration: none;
  transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
}
.skpa-button:hover,
.skpa-submit:hover:not(:disabled) {
  background: var(--skpa-charcoal-hover);
  border-color: var(--skpa-charcoal-hover);
  color: #fff;
  transform: translateY(-1px);
}
.skpa-button:focus-visible,
.skpa-submit:focus-visible,
.skpa-close:focus-visible,
.skpa-modal a:focus-visible,
.skpa-form input:focus-visible,
.skpa-form textarea:focus-visible {
  outline: 3px solid #858585;
  outline-offset: 3px;
}
.skpa-button--home {
  width: 100%;
  min-height: 52px;
  padding: 14px 20px;
  border-radius: 7px;
  justify-content: space-between;
}
.skpa-button--floating {
  padding: 15px 18px;
  min-height: 50px;
  white-space: nowrap;
  border-radius: 7px;
  box-shadow: none;
}
.skpa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 10010;
  background: var(--skpa-white);
  border: 1px solid #e9e9e9;
  border-radius: 12px;
  padding: 6px;
  box-shadow: 0 10px 36px rgba(0,0,0,.20);
}

/* Dialog */
.skpa-modal[hidden],
.skpa-status[hidden] { display: none !important; }
.skpa-modal {
  position: fixed;
  inset: 0;
  z-index: 100200;
  display: grid;
  place-items: center;
  padding: 20px 14px;
  font-family: inherit;
}
.skpa-modal__scrim {
  position: absolute;
  inset: 0;
  background: rgba(20, 20, 20, .70);
  backdrop-filter: blur(3px);
}
.skpa-panel {
  position: relative;
  display: block;
  width: min(100%, 530px);
  max-height: min(92dvh, 820px);
  overflow: auto;
  padding: 34px 34px 30px;
  border-radius: 14px;
  background: #fff;
  color: #292929;
  box-shadow: 0 24px 80px rgba(0,0,0,.28);
  border-top: 4px solid var(--skpa-charcoal);
  font-family: inherit;
}
.skpa-panel__intro { padding-right: 28px; margin-bottom: 22px; }
.skpa-panel__intro h2 {
  font-family: inherit;
  color: #292929;
  font-size: clamp(26px, 4vw, 32px);
  line-height: 1.18;
  letter-spacing: -.035em;
  font-weight: 750;
  margin: 9px 0 9px;
}
.skpa-panel__intro p {
  color: var(--skpa-gray);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}
.skpa-close {
  position: absolute;
  top: 20px;
  right: 20px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  background: #f3f3f3;
  border: 1px solid #e9e9e9;
  border-radius: 7px;
  color: #383838;
  cursor: pointer;
}
.skpa-close:hover { background: #e9e9e9; }
.skpa-form { display: flex; flex-direction: column; gap: 15px; margin: 0; }
.skpa-field { display: flex; flex-direction: column; gap: 7px; }
.skpa-field label { color: #303030; font-size: 13px; font-weight: 700; line-height: 1.4; }
.skpa-field label span { color: #757575; }
.skpa-field input,
.skpa-field textarea {
  display: block;
  width: 100%;
  min-height: 47px;
  margin: 0;
  border: 1px solid #d7d7d7;
  border-radius: 7px;
  background: #fafafa;
  padding: 12px 14px;
  color: #292929;
  font-family: inherit;
  font-size: 15px;
  line-height: 1.5;
  box-shadow: none;
}
.skpa-field textarea { resize: vertical; min-height: 115px; }
.skpa-field input::placeholder,
.skpa-field textarea::placeholder { color: #8a8a8a; opacity: 1; }
.skpa-field input:focus,
.skpa-field textarea:focus {
  border-color: #777;
  background: #fff;
}
.skpa-privacy {
  font-size: 12px;
  line-height: 1.6;
  color: #666;
  margin: 0;
}
.skpa-privacy a { color: #383838; text-decoration: underline; text-underline-offset: 2px; }
.skpa-status {
  margin: 0;
  padding: 11px 13px;
  border-radius: 6px;
  font-size: 13px;
  line-height: 1.5;
  background: #eef3ee;
  color: #285038;
  border: 1px solid #d0e2d3;
}
.skpa-status.is-error { background: #fff0ef; border-color: #eccdcb; color: #91352e; }
.skpa-submit {
  align-self: stretch;
  justify-content: space-between;
  border-radius: 7px;
  min-height: 52px;
  padding: 15px 19px;
}
.skpa-submit:disabled { cursor: progress; opacity: .7; }
.skpa-hp { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip-path: inset(50%) !important; white-space: nowrap !important; }
html.skpa-modal-open { overflow: hidden; }

@media (max-width: 600px) {
  .skpa-home-card { max-width: 340px; padding: 22px 18px 20px; }
  .skpa-float { right: 12px; bottom: 14px; padding: 5px; }
  .skpa-button--floating { padding: 13px 14px; font-size: 14px; }
  .skpa-panel { padding: 28px 20px 22px; max-height: 92dvh; }
  .skpa-close { top: 15px; right: 15px; }
  .skpa-panel__intro { padding-right: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .skpa-button, .skpa-submit { transition: none; }
}
