/* MP Preiskalkulator — Frontend
   Portiert aus dem Design-Prototyp. Kein Seitenhintergrund:
   der Wrapper stylt nur die Komponenten, der Hintergrund kommt von der Divi-Seite. */

.mpk-calc,
.mpk-calc * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.mpk-calc {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #fff;
  line-height: 1.5;
  max-width: 1360px;
  margin: 0 auto;
}

.mpk-calc button {
  -webkit-appearance: none;
  appearance: none;
}

/* MAIN GRID */
.mpk-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.mpk-grid--single {
  grid-template-columns: 1fr;
  max-width: 680px;
  margin: 0 auto;
}

/* LEFT COLUMN */
.mpk-left {
  display: flex;
  flex-direction: column;
  gap: 24px;
}


/* PROGRESS */
.mpk-progress {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
}

.mpk-progress-text {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  white-space: nowrap;
}

.mpk-progress-text strong {
  color: #00FFFF;
  font-weight: 700;
}

.mpk-progress-bar {
  flex: 1;
  height: 5px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}

.mpk-progress-fill {
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  background: linear-gradient(90deg, #00FFFF 0%, #00B8D4 100%);
  border-radius: 999px;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 12px rgba(0, 255, 255, 0.6);
}

/* CARD */
.mpk-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 36px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.mpk-step {
  position: relative;
  z-index: 1;
  display: none;
  animation: mpkSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mpk-step--active {
  display: block;
}

@keyframes mpkSlideIn {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.mpk-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: rgba(0, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}

.mpk-step-number::before {
  content: "";
  width: 20px;
  height: 1px;
  background: #00FFFF;
}

.mpk-step-title {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
  line-height: 1.3;
  color: #fff;
}

.mpk-step-subtitle {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 24px;
  line-height: 1.5;
}

/* OPTIONS */
.mpk-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.mpk-option {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 16px 20px;
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: left;
  font-family: inherit;
  color: #fff;
  width: 100%;
}

.mpk-option:hover {
  background: rgba(0, 255, 255, 0.05);
  border-color: rgba(0, 255, 255, 0.3);
}

.mpk-option--selected {
  background: rgba(0, 255, 255, 0.1);
  border-color: #00FFFF;
  box-shadow: 0 8px 24px rgba(0, 255, 255, 0.15);
}

.mpk-option-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mpk-option-title {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
}

.mpk-option-desc {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
}

.mpk-option-check {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 6px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.mpk-option--selected .mpk-option-check {
  background: #00FFFF;
  border-color: #00FFFF;
  box-shadow: 0 0 12px rgba(0, 255, 255, 0.5);
}

.mpk-option--selected .mpk-option-check::after {
  content: "";
  width: 8px; height: 4px;
  border-left: 2px solid #0a1838;
  border-bottom: 2px solid #0a1838;
  transform: rotate(-45deg) translate(1px, -1px);
}

/* FREITEXT (z. B. "Sonstiges") */
.mpk-option-other {
  display: none;
  margin-top: 14px;
}

.mpk-option-other--show {
  display: block;
  animation: mpkFadeIn 0.3s ease;
}

/* Hohe Spezifitaet + !important: Divi ueberschreibt sonst mit seinen
   globalen input-Styles (weisser Hintergrund, dunkle Schrift) */
.mpk-calc input.mpk-option-other-input {
  width: 100% !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 12px !important;
  padding: 15px 16px !important;
  margin: 0 !important;
  color: #fff !important;
  font-family: inherit !important;
  font-size: 15px !important;
  line-height: 1.5 !important;
  height: auto !important;
  min-height: 0 !important;
  box-shadow: none !important;
  outline: none !important;
  transition: border-color 0.2s ease;
}

.mpk-calc input.mpk-option-other-input::placeholder { color: rgba(255, 255, 255, 0.4) !important; }

.mpk-calc input.mpk-option-other-input:focus { border-color: rgba(0, 255, 255, 0.5) !important; }

/* VALIDIERUNG */
.mpk-error {
  margin-top: 14px;
  color: #ff7a7a;
  font-size: 13px;
  font-weight: 600;
  display: none;
  align-items: center;
  gap: 8px;
  animation: mpkFadeIn 0.25s ease;
}

.mpk-error::before {
  content: "!";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(255, 122, 122, 0.15);
  border: 1px solid rgba(255, 122, 122, 0.55);
  font-size: 12px;
  flex-shrink: 0;
}

/* Doppelte Klasse erhoeht die Spezifitaet ueber die !important-Basis-Styles */
.mpk-calc .mpk-form-input--invalid.mpk-form-input--invalid {
  border-color: rgba(255, 122, 122, 0.7) !important;
}

/* FORM */
.mpk-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 20px;
}

.mpk-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mpk-form-group--full {
  grid-column: 1 / -1;
}

.mpk-form-label {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

.mpk-form-label span {
  color: rgba(255, 255, 255, 0.4);
  font-weight: 400;
}

/* Hohe Spezifitaet + !important gegen die globalen Divi-Input-Styles */
.mpk-calc input.mpk-form-input,
.mpk-calc textarea.mpk-form-textarea {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 10px !important;
  padding: 12px 14px !important;
  margin: 0 !important;
  color: #fff !important;
  font-size: 14px !important;
  font-family: inherit !important;
  line-height: 1.5 !important;
  height: auto !important;
  box-shadow: none !important;
  transition: all 0.25s ease;
  width: 100% !important;
}

.mpk-calc input.mpk-form-input:focus,
.mpk-calc textarea.mpk-form-textarea:focus {
  outline: none !important;
  border-color: #00FFFF !important;
  background: rgba(0, 255, 255, 0.04) !important;
  box-shadow: 0 0 0 4px rgba(0, 255, 255, 0.08) !important;
}

.mpk-calc input.mpk-form-input::placeholder,
.mpk-calc textarea.mpk-form-textarea::placeholder {
  color: rgba(255, 255, 255, 0.3) !important;
}

.mpk-calc textarea.mpk-form-textarea {
  resize: vertical;
  min-height: 80px !important;
}

/* Datenschutz-Hinweis */
.mpk-privacy-note {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.5;
  margin-bottom: 8px;
}

.mpk-privacy-note a {
  color: rgba(0, 255, 255, 0.85);
  text-decoration: underline;
}

/* Honeypot: raus aus dem Viewport, nicht display:none (manche Bots pruefen das) */
.mpk-hp-wrap {
  position: absolute;
  left: -9999px;
  top: -9999px;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

/* NAV */
.mpk-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 1;
}

.mpk-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: inherit;
  border: none;
}

.mpk-nav-btn--back {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
}

.mpk-nav-btn--back:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.mpk-nav-btn--back:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.mpk-nav-btn--next {
  background: linear-gradient(135deg, #00FFFF, #00B8D4);
  color: #0a1838;
  box-shadow: 0 8px 24px rgba(0, 255, 255, 0.3);
  margin-left: auto;
}

.mpk-nav-btn--next:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 255, 255, 0.45);
}

.mpk-nav-btn--next:disabled {
  opacity: 0.6;
  cursor: wait;
  transform: none;
}

/* ANSPRECHPARTNER CARD (Variante A: Avatar links, Kopfzeile + Punkte rechts) */
.mpk-contact {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 20px 24px;
}

/* Avatar spannt Kopfzeile + Trennlinie; die zwei Punkte liegen darunter.
   Bleibt so flach wie die frühere einreihige Karte. */
.mpk-partner-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 18px;
  align-items: center;
}

.mpk-partner-avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: #1a2b52 center/cover no-repeat;
  border: 2px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 0 0 4px rgba(0, 255, 255, 0.12);
  flex-shrink: 0;
  grid-row: 1 / span 2;
}

.mpk-partner-head {
  align-self: end;
  padding-bottom: 10px;
}

.mpk-partner-eyebrow {
  display: block;
  font-size: 11.5px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-weight: 700;
  color: #35e0e0;
  margin-bottom: 2px;
}

.mpk-partner-name {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
}

.mpk-partner-divider {
  grid-column: 2;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 0 0 12px;
}

.mpk-partner-points {
  grid-column: 2;
  align-self: start;
  display: flex;
  gap: 22px;
}

.mpk-partner-point {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 0;
  min-width: 0;
}

.mpk-partner-point > div:last-child {
  min-width: 0;
}

.mpk-partner-point-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(0, 255, 255, 0.08);
  border: 1px solid rgba(0, 255, 255, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00FFFF;
  flex-shrink: 0;
}

.mpk-partner-point-icon svg { width: 20px; height: 20px; }

.mpk-partner-point-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
}

.mpk-partner-point-sub {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.3;
  margin-top: 3px;
}

/* RIGHT COLUMN: REFERENZEN (vierless-Stil) */
.mpk-references {
  --mpk-brand: #d94a4a;
  --mpk-brand-soft: rgba(217, 74, 74, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 40px 40px 18px;
  position: relative;
  overflow: hidden;
  min-height: 700px;
  display: flex;
  flex-direction: column;
  transition: background 0.6s ease;
}

/* Referenzen im 2-Spalten-Layout vertikal etwa auf die Mitte der (hoeheren)
   linken Spalte setzen, statt buendig oben. Nur Desktop; mobil wird gestapelt. */
@media (min-width: 1101px) {
  .mpk-references {
    align-self: center;
  }
}

/* Soft-Glow oben rechts */
.mpk-references::before {
  content: "";
  position: absolute;
  top: -28%; right: -25%;
  width: 78%; height: 78%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.10) 0%, transparent 62%);
  pointer-events: none;
  z-index: 0;
}

.mpk-ref-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.mpk-ref-slide {
  display: none;
  flex-direction: column;
  flex: 1;
  animation: mpkFadeIn 0.6s ease;
}

.mpk-ref-slide--active {
  display: flex;
}

@keyframes mpkFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.mpk-ref-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
}

.mpk-ref-avatar {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: #dbe4f0 center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0a1838;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 0 0 4px var(--mpk-brand-soft);
  overflow: hidden;
}

.mpk-ref-person {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.mpk-ref-name {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}

.mpk-ref-role {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
}

.mpk-ref-quote {
  font-size: clamp(1.5rem, 2.7vw, 2rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.22;
  letter-spacing: -0.5px;
  margin-bottom: 6px;
}

/* ISOMETRISCHER STAPEL */
.mpk-ref-stack {
  flex: 1;
  position: relative;
  min-height: 300px;
  margin: 6px -24px 0;
  perspective: 1700px;
  perspective-origin: 60% 36%;
}

.mpk-ref-stage {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transform: rotateX(9deg) rotateY(-27deg) rotateZ(7deg) scale(1.08);
}

/* Collage nach unten hin abdunkeln (ueber der Logo-Leiste) */
.mpk-ref-stack::after {
  content: "";
  position: absolute;
  left: -24px; right: -24px; bottom: -18px;
  height: 58%;
  background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.30) 55%, rgba(0,0,0,0.62) 100%);
  pointer-events: none;
  z-index: 20;
}

.mpk-ref-tile {
  position: absolute;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(255,255,255,0.16);
  box-shadow: 0 34px 60px rgba(0,0,0,0.5);
  display: flex;
  flex-direction: column;
}

.mpk-ref-tile--main   { width: 66%; aspect-ratio: 16/10; left: 28%; top: 16%; transform: translateZ(50px); }
.mpk-ref-tile--mobile { width: 20%; aspect-ratio: 9/18;  left: 17%; top: 36%; transform: translateZ(85px); border-radius: 14px; }

/* Browser-Leiste (Fake-Chrome) */
.mpk-ref-bar {
  height: 20px;
  flex-shrink: 0;
  background: #eef2f7;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 8px;
  border-bottom: 1px solid #e4e9f0;
}
.mpk-ref-bar i { width: 6px; height: 6px; border-radius: 50%; background: #cbd5e1; display: block; }

/* Screenshot */
.mpk-ref-shot { flex: 1; }
.mpk-ref-img {
  display: block;
  width: 100%;
  height: auto;
  flex: 1;
  min-height: 0;
  object-fit: cover;
  object-position: top center;
}

/* Platzhalter, solange keine Bilder in der Mediathek gewaehlt sind */
.mpk-ref-shot--site {
  background:
    linear-gradient(var(--mpk-brand), var(--mpk-brand)) top/100% 32% no-repeat,
    repeating-linear-gradient(#e9eef5 0 6px, #f4f7fb 6px 20px);
}
.mpk-ref-shot--mobile {
  background:
    linear-gradient(var(--mpk-brand), var(--mpk-brand)) top/100% 38% no-repeat,
    repeating-linear-gradient(#e9eef5 0 5px, #f4f7fb 5px 16px);
}

/* LOGO-LEISTE */
.mpk-ref-logos {
  display: grid;
  gap: 10px;
  background: rgba(6, 8, 16, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 12px;
  border-radius: 16px;
  margin-top: auto;
  position: relative;
  z-index: 5;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.mpk-ref-logo {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 10px;
  padding: 20px 12px;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.5px;
  text-align: center;
  min-height: 62px;
  line-height: 1.2;
  position: relative;
  overflow: hidden;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.mpk-ref-logo:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.mpk-ref-logo:focus-visible {
  border-color: rgba(255, 255, 255, 0.5);
}

.mpk-ref-logo--active {
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.9);
  color: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

/* Ladebalken im aktiven Logo */
.mpk-ref-logo-progress {
  position: absolute;
  bottom: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.4) 0%, #ffffff 100%);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.6);
  border-radius: 0 3px 3px 0;
  transition: none;
}

.mpk-ref-logo--active .mpk-ref-logo-progress {
  animation: mpkFillProgress var(--mpk-rotate, 6000ms) linear forwards;
}

.mpk-ref-logo--paused .mpk-ref-logo-progress {
  animation-play-state: paused;
  opacity: 0.3;
}

@keyframes mpkFillProgress {
  from { width: 0%; }
  to { width: 100%; }
}

/* RESULT */
.mpk-result {
  text-align: center;
}

.mpk-result-icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00FFFF, #00B8D4);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 12px 40px rgba(0, 255, 255, 0.4);
}

.mpk-result-icon::after {
  content: "";
  width: 22px; height: 11px;
  border-left: 3px solid #0a1838;
  border-bottom: 3px solid #0a1838;
  transform: rotate(-45deg) translate(2px, -2px);
}

/* Tablet: einspaltig, Reihenfolge Fragebogen -> Ansprechpartner -> Referenzen */
@media (max-width: 1100px) {
  .mpk-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* .mpk-left aufloesen, damit Kontakt/Progress/Karte/Referenzen eigene
     Grid-Items werden und per order frei sortiert werden koennen */
  .mpk-left {
    display: contents;
  }

  .mpk-contact    { order: 1; }
  .mpk-progress   { order: 2; }
  .mpk-card       { order: 3; }
  .mpk-references { order: 4; }

  .mpk-references {
    min-height: 600px;
  }
}

/* Mobile */
@media (max-width: 720px) {
  .mpk-card,
  .mpk-references {
    padding: 24px;
  }

  .mpk-form {
    grid-template-columns: 1fr;
  }

  .mpk-partner-points {
    flex-direction: column;
    gap: 14px;
  }

  .mpk-references {
    min-height: 500px;
  }
}

/* ------------------------------------------- Step 6: Zwei-Wege-Layout (Termin / Rueckruf) */
.mpk-choice {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 16px;
  margin: 6px 0 18px;
  align-items: stretch;
}

.mpk-choice-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
}

.mpk-choice-card--primary {
  border-color: rgba(0, 255, 255, 0.7);
  background: rgba(0, 255, 255, 0.06);
  box-shadow: 0 0 0 1px rgba(0, 255, 255, 0.2), 0 12px 34px rgba(0, 255, 255, 0.16);
}

.mpk-choice-badge {
  align-self: flex-start;
  background: linear-gradient(90deg, #00FFFF 0%, #00B8D4 100%);
  color: #0a1838;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  box-shadow: 0 0 12px rgba(0, 255, 255, 0.5);
}

.mpk-choice-icon {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(0, 255, 255, 0.1);
  color: #00FFFF;
}

.mpk-choice-icon svg {
  width: 22px;
  height: 22px;
}

.mpk-choice-card--secondary .mpk-choice-icon {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.75);
}

.mpk-choice-title {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin: 2px 0 0;
}

.mpk-choice-desc {
  font-size: 13.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

.mpk-calc .mpk-form.mpk-choice-form {
  grid-template-columns: 1fr;
  gap: 10px;
  margin: 6px 0 4px;
}

.mpk-choice-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: auto;
  padding: 13px 18px;
  border: none;
  border-radius: 999px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
}

.mpk-choice-btn span {
  transition: transform 0.15s ease;
}

.mpk-choice-btn:hover span {
  transform: translateX(3px);
}

.mpk-choice-btn--primary {
  background: linear-gradient(90deg, #00FFFF 0%, #00B8D4 100%);
  color: #0a1838;
  box-shadow: 0 0 16px rgba(0, 255, 255, 0.5);
}

.mpk-choice-btn--primary:hover {
  box-shadow: 0 0 24px rgba(0, 255, 255, 0.7);
}

.mpk-choice-btn--secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.18);
}

.mpk-choice-btn--secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(0, 255, 255, 0.5);
}

.mpk-choice-btn:disabled {
  opacity: 0.6;
  cursor: default;
}

.mpk-choice-btn:disabled span {
  transform: none;
}

/* "Jetzt absenden" rechtsbuendig ausrichten */
.mpk-callback-submit {
  display: flex;
  width: fit-content;
  margin-left: auto;
  margin-right: 0;
}

/* Erklaerungs-Toggle (startet zugeklappt) */
.mpk-accordion {
  margin-top: 18px;
  border: 1.5px solid rgba(0, 255, 255, 0.30);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(0, 255, 255, 0.05);
}

.mpk-accordion-head {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: transparent;
  border: none;
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.mpk-accordion-head:hover {
  background: rgba(0, 255, 255, 0.07);
}

.mpk-accordion-qicon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(90deg, #00FFFF, #00B8D4);
  color: #0a1838;
  font-size: 14px;
  font-weight: 800;
}

.mpk-accordion-q {
  flex: 1;
}

.mpk-accordion-icon {
  position: relative;
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
}

.mpk-accordion-icon::before,
.mpk-accordion-icon::after {
  content: "";
  position: absolute;
  background: #00FFFF;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.mpk-accordion-icon::before { top: 7px; left: 0; width: 16px; height: 2px; }
.mpk-accordion-icon::after  { left: 7px; top: 0; width: 2px; height: 16px; }

.mpk-accordion--open .mpk-accordion-icon::after {
  opacity: 0;
  transform: rotate(90deg);
}

/* Smooth aufklappen ueber grid-template-rows 0fr -> 1fr (kein Ruckeln) */
.mpk-accordion-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}

.mpk-accordion--open .mpk-accordion-body {
  grid-template-rows: 1fr;
}

.mpk-accordion-inner {
  overflow: hidden;
}

.mpk-accordion-inner p {
  margin: 0;
  padding: 6px 22px 30px 54px;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.72);
}

/* Umschalter "Daten eingeben" / "Termin buchen" */
.mpk-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 5px;
  margin-bottom: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
}

.mpk-switch-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 12px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.mpk-switch-btn svg { width: 18px; height: 18px; flex: 0 0 auto; }
.mpk-switch-btn:hover { color: #fff; }

.mpk-switch-btn--active {
  background: linear-gradient(90deg, #00FFFF 0%, #00B8D4 100%);
  color: #0a1838;
  box-shadow: 0 0 14px rgba(0, 255, 255, 0.4);
}

/* Panes: immer nur einer sichtbar */
.mpk-pane[hidden] { display: none; }

.mpk-pane-desc {
  font-size: 13.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.6);
  margin: 0 0 16px;
}

/* Formular im Pane wieder 2-spaltig = kompakter (Name/E-Mail nebeneinander) */
.mpk-calc .mpk-form.mpk-choice-form {
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 0 0 16px;
}

.mpk-cal {
  margin-top: 4px;
  min-height: 660px;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

@media (max-width: 720px) {
  .mpk-calc .mpk-form.mpk-choice-form {
    grid-template-columns: 1fr;
  }
}
