/*
 * Cool Print – Print as a Service
 * Frontend design based on the supplied process and project-request widgets.
 */

.cp-desc-widget,
.cp-desc-widget * {
  box-sizing: border-box;
}

.cp-desc-widget {
  --cp-gold: #D9B530;
  --cp-gold-light: #f4d75a;
  --cp-black: #000000;
  --cp-white: #ffffff;
  --cp-text: rgba(0,0,0,0.74);
  --cp-soft: rgba(0,0,0,0.52);
  --cp-border: rgba(0,0,0,0.10);

  position: relative;
  overflow: hidden;
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  padding: clamp(60px, 7vw, 115px) 0;
  background: transparent !important;
  color: var(--cp-black);
  isolation: isolate;
}

.cp-desc-widget::before {
  display: none !important;
  content: none !important;
}

.cp-desc-widget::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,0,0,0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.022) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(circle at center, black 0%, transparent 76%);
  opacity: 0.36;
  pointer-events: none;
  z-index: -1;
}

.cp-desc-container {
  width: 100% !important;
  max-width: var(--cp-container-width, 1520px) !important;
  margin: 0 auto !important;
  padding-left: clamp(18px, 4vw, 54px);
  padding-right: clamp(18px, 4vw, 54px);
}

.cp-animate {
  opacity: 0;
  transform: translateY(42px) scale(0.985);
  filter: blur(10px);
  transition:
    opacity 0.9s cubic-bezier(.2,.8,.2,1),
    transform 0.9s cubic-bezier(.2,.8,.2,1),
    filter 0.9s cubic-bezier(.2,.8,.2,1);
  will-change: opacity, transform, filter;
}

.cp-animate.cp-in-view {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.cp-desc-step:nth-child(1) { transition-delay: 0.06s; }
.cp-desc-step:nth-child(2) { transition-delay: 0.14s; }
.cp-desc-step:nth-child(3) { transition-delay: 0.22s; }
.cp-desc-step:nth-child(4) { transition-delay: 0.30s; }
.cp-desc-step:nth-child(5) { transition-delay: 0.38s; }

.cp-desc-process {
  display: grid;
  grid-template-columns: 0.85fr 1.6fr;
  gap: clamp(28px, 5vw, 74px);
  align-items: stretch;
  margin-bottom: clamp(48px, 7vw, 92px);
}

.cp-desc-process-intro {
  position: relative;
  top: auto;
  align-self: stretch;
  height: 100%;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 3vw, 42px);
  border-radius: 30px;
  background: rgba(255,255,255,0.66);
  border: 1px solid rgba(217,181,48,0.42);
  box-shadow: 0 24px 76px rgba(0,0,0,0.075);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow: hidden;
}

.cp-desc-process-intro::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(217,181,48,0.18), transparent 45%);
  pointer-events: none;
}

.cp-desc-eyebrow {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--cp-black);
  font-size: 13px;
  line-height: 1;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 800;
  z-index: 1;
}

.cp-desc-eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  border-radius: 999px;
  background: var(--cp-black);
  transform-origin: left;
}

.cp-in-view .cp-desc-eyebrow::before {
  animation: cpLineGrow 0.85s cubic-bezier(.2,.8,.2,1) both;
}

.cp-desc-process-intro h3,
.cp-desc-cta h3 {
  position: relative;
  margin: 0 0 18px !important;
  color: var(--cp-black) !important;
  font-size: clamp(30px, 3vw, 46px) !important;
  line-height: 1.08 !important;
  letter-spacing: -0.045em !important;
  font-weight: 600 !important;
  z-index: 1;
}

.cp-desc-process-intro.cp-in-view h3 {
  animation: cpTitleReveal 1.05s cubic-bezier(.2,.8,.2,1) both;
}

.cp-desc-process-intro p,
.cp-desc-step p,
.cp-desc-cta p {
  position: relative;
  margin: 0 !important;
  color: var(--cp-text) !important;
  font-size: 15.5px !important;
  line-height: 1.75 !important;
  font-weight: 400 !important;
  z-index: 1;
}

.cp-desc-process-intro > p {
  font-size: 16px !important;
}

.cp-desc-process-intro.cp-in-view p {
  animation: cpTextReveal 1.05s cubic-bezier(.2,.8,.2,1) 0.12s both;
}

.cp-desc-highlight {
  position: relative;
  display: grid;
  gap: 6px;
  margin-top: 26px;
  padding: 18px;
  border-radius: 20px;
  background: rgba(217,181,48,0.13);
  border: 1px solid rgba(217,181,48,0.42);
  z-index: 1;
}

.cp-desc-highlight strong {
  color: var(--cp-black);
  font-size: 15px;
  line-height: 1.2;
  font-weight: 800;
}

.cp-desc-highlight span {
  color: var(--cp-text);
  font-size: 14.5px;
  line-height: 1.6;
}

.cp-desc-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.cp-desc-step {
  position: relative;
  min-height: 285px;
  padding: 28px;
  border-radius: 28px;
  background: rgba(255,255,255,0.60);
  border: 1px solid var(--cp-border);
  box-shadow: 0 24px 70px rgba(0,0,0,0.075);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow: hidden;
  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    background 0.35s ease;
}

.cp-desc-step::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(217,181,48,0.20), transparent 46%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.cp-desc-step:hover {
  transform: translateY(-8px) scale(1.01);
  border-color: rgba(217,181,48,0.65);
  background: rgba(255,255,255,0.76);
  box-shadow: 0 30px 90px rgba(0,0,0,0.12);
}

.cp-desc-step:hover::before {
  opacity: 1;
}

.cp-desc-step-wide {
  grid-column: span 2;
  min-height: 220px;
  background: rgba(255,255,255,0.68);
  border-color: rgba(217,181,48,0.45);
}

.cp-desc-step-number {
  position: absolute;
  right: 24px;
  top: 20px;
  color: rgba(0,0,0,0.07);
  font-size: 66px;
  line-height: 1;
  letter-spacing: -0.08em;
  font-weight: 800;
  pointer-events: none;
}

.cp-desc-step.cp-in-view .cp-desc-step-number {
  animation: cpNumberPop 1s cubic-bezier(.2,.8,.2,1) 0.22s both;
}

.cp-desc-icon {
  position: relative;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  border-radius: 14px;
  background: rgba(217,181,48,0.10);
  border: 1px solid rgba(217,181,48,0.50);
  color: var(--cp-black);
  font-size: 18px;
  box-shadow: 0 12px 32px rgba(217,181,48,0.16);
  z-index: 1;
}

.cp-desc-step.cp-in-view .cp-desc-icon {
  animation: cpIconPop 0.75s cubic-bezier(.2,.8,.2,1) 0.18s both;
}

.cp-desc-step h4 {
  position: relative;
  margin: 0 0 12px !important;
  color: var(--cp-black) !important;
  font-size: 21px !important;
  line-height: 1.18 !important;
  letter-spacing: -0.025em !important;
  font-weight: 600 !important;
  z-index: 1;
}

.cp-desc-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(28px, 4vw, 46px);
  border-radius: 30px;
  background: rgba(255,255,255,0.64);
  border: 1px solid rgba(0,0,0,0.11);
  box-shadow: 0 24px 80px rgba(0,0,0,0.085);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.cp-desc-cta.cp-in-view {
  animation: cpCtaGlow 1.5s ease 0.35s both;
}

.cp-desc-cta span {
  display: block;
  margin-bottom: 12px;
  color: var(--cp-gold);
  font-size: 13px;
  line-height: 1;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 900;
}

.cp-desc-cta h3 {
  margin: 0 0 10px !important;
}

.cp-desc-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.cp-desc-btn,
.cp-desc-btn-main,
.cp-desc-btn-secondary {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 42px !important;
  padding: 12px 18px !important;
  border: 0 !important;
  border-radius: 14px !important;
  background: var(--cp-button, #111827) !important;
  color: #ffffff !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.1 !important;
  text-align: center !important;
  text-decoration: none !important;
  letter-spacing: .02em !important;
  text-transform: none !important;
  white-space: nowrap !important;
  box-shadow: 0 10px 24px rgba(17, 24, 39, .16) !important;
  transition: transform .22s ease, background-color .22s ease, box-shadow .22s ease !important;
  cursor: pointer !important;
}

.cp-desc-btn:hover,
.cp-desc-btn-main:hover,
.cp-desc-btn-secondary:hover {
  background: #000000 !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 14px 30px rgba(17, 24, 39, .24) !important;
}

.cp-desc-btn:active,
.cp-desc-btn-main:active,
.cp-desc-btn-secondary:active {
  transform: translateY(0) !important;
}

.cp-desc-btn:focus,
.cp-desc-btn-main:focus,
.cp-desc-btn-secondary:focus {
  outline: none !important;
  color: #ffffff !important;
}

.cp-desc-btn:focus-visible,
.cp-desc-btn-main:focus-visible,
.cp-desc-btn-secondary:focus-visible {
  outline: 2px solid rgba(17, 24, 39, .35) !important;
  outline-offset: 3px !important;
}

@keyframes cpTitleReveal {
  0% {
    opacity: 0;
    transform: translateY(28px);
    filter: blur(8px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes cpTextReveal {
  0% {
    opacity: 0;
    transform: translateY(18px);
    filter: blur(6px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes cpLineGrow {
  0% {
    transform: scaleX(0);
    opacity: 0;
  }
  100% {
    transform: scaleX(1);
    opacity: 1;
  }
}

@keyframes cpIconPop {
  0% {
    opacity: 0;
    transform: scale(0.55) rotate(-12deg);
  }
  70% {
    transform: scale(1.08) rotate(3deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0);
  }
}

@keyframes cpNumberPop {
  0% {
    opacity: 0;
    transform: translateY(-14px) scale(0.88);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes cpCtaGlow {
  0% {
    box-shadow: 0 24px 80px rgba(0,0,0,0.085);
  }
  45% {
    box-shadow: 0 28px 95px rgba(217,181,48,0.26);
  }
  100% {
    box-shadow: 0 24px 80px rgba(0,0,0,0.085);
  }
}

@media (max-width: 1100px) {
  .cp-desc-process {
    grid-template-columns: 1fr;
  }

  .cp-desc-process-intro {
    height: auto;
    min-height: auto;
  }

  .cp-desc-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .cp-desc-buttons {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .cp-desc-widget {
    padding: 52px 0;
  }

  .cp-desc-widget::after {
    opacity: 0.24;
  }

  .cp-desc-container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .cp-desc-steps {
    grid-template-columns: 1fr;
  }

  .cp-desc-step,
  .cp-desc-step-wide {
    grid-column: span 1;
    min-height: auto;
    padding: 24px;
    border-radius: 22px;
  }

  .cp-desc-step-number {
    font-size: 56px;
  }

  .cp-desc-cta {
    border-radius: 24px;
  }

  .cp-desc-buttons,
  .cp-desc-btn {
    width: 100%;
  }

  .cp-desc-btn,
  .cp-desc-btn-main,
  .cp-desc-btn-secondary {
    min-height: 40px !important;
    padding: 11px 14px !important;
    font-size: 13px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cp-animate,
  .cp-animate.cp-in-view {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
    animation: none !important;
  }
}

/* =========================================================
   PROJEKTANFRAGE / ELFSIGHT
   ========================================================= */

/* =========================================================
   COOL PRINT – BILD + ELFSIGHT CONTACT FORM 3
   Formular im hochwertigen Karten-Design
   Ohne Hover-Bewegung der gesamten Formularbox
   ========================================================= */

.cp-paas-contact {
    --mwcp-gap: clamp(22px, 2.2vw, var(--mwcp-gap-max, 36px));
    --mwcp-radius: 30px;
    --mwcp-dark: #111827;
    --mwcp-gold: #D9B530;
    --mwcp-text: rgba(0, 0, 0, 0.74);
    --mwcp-border: rgba(0, 0, 0, 0.10);

    width: 100%;
    max-width: var(--mwcp-max-width, 1500px);
    margin: 0 auto;
    padding: 28px 20px;
    box-sizing: border-box;
}

.cp-paas-contact,
.cp-paas-contact * {
    box-sizing: border-box;
}

/* =========================================================
   ZWEI SPALTEN
   ========================================================= */

.cp-paas-contact .mwcp-contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
    gap: var(--mwcp-gap);
    width: 100%;
}

/* =========================================================
   LINKE BILDSEITE
   ========================================================= */

.cp-paas-contact .mwcp-contact-media {
    position: relative;
    align-self: stretch;
    min-width: 0;
    min-height: 100%;
    overflow: hidden;

    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--mwcp-radius);

    background: #eeeeee;

    box-shadow:
        0 24px 70px rgba(0, 0, 0, 0.075),
        inset 0 1px 0 rgba(255, 255, 255, 0.50);
}

/* Wird gesetzt, sobald die Formularhöhe ermittelt wurde */
.cp-paas-contact .mwcp-contact-media.mwcp-is-synced {
    align-self: start;
    min-height: 0;
}

.cp-paas-contact .mwcp-contact-media img {
    position: absolute;
    inset: 0;

    display: block;

    width: 100%;
    height: 100%;
    max-width: none;

    object-fit: cover;
    object-position: var(--mwcp-image-position, center center);

    border-radius: inherit;
}

/* Dezente Abdunklung des Bildes */
.cp-paas-contact .mwcp-contact-media::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.00) 0%,
            rgba(0, 0, 0, 0.08) 100%
        );

    pointer-events: none;
}

/* =========================================================
   RECHTE FORMULARBOX
   ========================================================= */

.cp-paas-contact .mwcp-contact-form {
    position: relative;

    min-width: 0;
    width: 100%;

    padding: clamp(26px, 3vw, 42px);

    overflow: hidden;

    border: 1px solid rgba(217, 181, 48, 0.42);
    border-radius: var(--mwcp-radius);

    background: rgba(255, 255, 255, 0.66);

    box-shadow:
        0 24px 76px rgba(0, 0, 0, 0.075),
        inset 0 1px 0 rgba(255, 255, 255, 0.70);

    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

/* Goldene Lichtakzente */
.cp-paas-contact .mwcp-contact-form::before {
    content: "";

    position: absolute;
    inset: 0;
    z-index: 0;

    background:
        radial-gradient(
            circle at top right,
            rgba(217, 181, 48, 0.20),
            transparent 44%
        ),
        radial-gradient(
            circle at bottom left,
            rgba(217, 181, 48, 0.08),
            transparent 38%
        );

    pointer-events: none;
}

/* Dezente Glanzlinie oben */
.cp-paas-contact .mwcp-contact-form::after {
    content: "";

    position: absolute;
    top: 0;
    left: 10%;
    z-index: 0;

    width: 80%;
    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, 0.90),
            transparent
        );

    pointer-events: none;
}

/* Formular über die Dekoration setzen */
.cp-paas-contact .mwcp-contact-form > * {
    position: relative;
    z-index: 1;
}

/*
 * Kein Hover-Effekt auf der gesamten Formularbox.
 * Die Box bleibt vollständig ruhig.
 */
.cp-paas-contact .mwcp-contact-form:hover {
    transform: none !important;

    border-color: rgba(217, 181, 48, 0.42) !important;

    background: rgba(255, 255, 255, 0.66) !important;

    box-shadow:
        0 24px 76px rgba(0, 0, 0, 0.075),
        inset 0 1px 0 rgba(255, 255, 255, 0.70) !important;
}

/* =========================================================
   ELFSIGHT-GRUNDEINSTELLUNGEN
   ========================================================= */

.cp-paas-contact .eapps-form-container,
.cp-paas-contact .eapps-form,
.cp-paas-contact .eapps-form-inner,
.cp-paas-contact .eapps-form-form,
.cp-paas-contact .eapps-form-fieldset {
    width: 100% !important;
    max-width: none !important;

    background: transparent !important;
}

.cp-paas-contact .eapps-form-container,
.cp-paas-contact .eapps-form {
    margin: 0 !important;
    padding: 0 !important;
}

.cp-paas-contact .eapps-form-header,
.cp-paas-contact .eapps-form-header-container {
    background: transparent !important;
}

/* =========================================================
   FORMULARTITEL
   ========================================================= */

.cp-paas-contact .eapps-form-header-title,
.cp-paas-contact .eapps-form-title {
    margin-top: 0 !important;
    margin-bottom: 12px !important;

    color: #000000 !important;

    font-size: clamp(28px, 2.5vw, 40px) !important;
    font-weight: 600 !important;
    line-height: 1.08 !important;
    letter-spacing: -0.04em !important;
}

.cp-paas-contact .eapps-form-header-description,
.cp-paas-contact .eapps-form-description {
    margin-top: 0 !important;
    margin-bottom: 26px !important;

    color: var(--mwcp-text) !important;

    font-size: 15.5px !important;
    font-weight: 400 !important;
    line-height: 1.7 !important;
}

/* =========================================================
   FELDBESCHRIFTUNGEN
   ========================================================= */

.cp-paas-contact .eapps-form-element-label {
    margin-top: 0 !important;
    margin-bottom: 9px !important;

    color: #353535 !important;

    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
}

.cp-paas-contact .eapps-form-element-label-required {
    color: var(--mwcp-gold) !important;
}

/* =========================================================
   FORMULARFELDER
   ========================================================= */

.cp-paas-contact input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.cp-paas-contact textarea,
.cp-paas-contact select {
    width: 100% !important;
    min-height: 52px !important;

    padding: 13px 15px !important;

    border: 1px solid rgba(0, 0, 0, 0.12) !important;
    border-radius: 14px !important;

    outline: none !important;

    background: rgba(255, 255, 255, 0.78) !important;
    color: #111827 !important;

    font-size: 15px !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;

    box-shadow:
        0 8px 22px rgba(0, 0, 0, 0.035),
        inset 0 1px 0 rgba(255, 255, 255, 0.65) !important;

    transition:
        border-color 0.25s ease,
        background-color 0.25s ease,
        box-shadow 0.25s ease !important;
}

/* Hover nur bei den Eingabefeldern */
.cp-paas-contact input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]):hover,
.cp-paas-contact textarea:hover,
.cp-paas-contact select:hover {
    border-color: rgba(217, 181, 48, 0.52) !important;
    background: rgba(255, 255, 255, 0.92) !important;
}

/* Fokuszustand */
.cp-paas-contact input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]):focus,
.cp-paas-contact textarea:focus,
.cp-paas-contact select:focus {
    border-color: var(--mwcp-gold) !important;
    background: #ffffff !important;

    box-shadow:
        0 0 0 4px rgba(217, 181, 48, 0.12),
        0 12px 28px rgba(0, 0, 0, 0.06) !important;
}

/* Platzhalter */
.cp-paas-contact input::placeholder,
.cp-paas-contact textarea::placeholder {
    color: rgba(17, 24, 39, 0.46) !important;
    opacity: 1 !important;
}

/* Nachrichtenfeld */
.cp-paas-contact textarea {
    min-height: 185px !important;
    resize: vertical !important;
}

/* Auswahlfelder */
.cp-paas-contact select {
    cursor: pointer !important;
}

/* =========================================================
   ABSTÄNDE ZWISCHEN DEN FELDERN
   ========================================================= */

.cp-paas-contact .eapps-form-element {
    margin-bottom: 18px !important;
}

.cp-paas-contact .eapps-form-element:last-child {
    margin-bottom: 0 !important;
}

/* =========================================================
   DATEIUPLOAD
   ========================================================= */

.cp-paas-contact .eapps-form-element-input-file-wrapper {
    width: 100% !important;

    overflow: hidden;

    border: 1px dashed rgba(217, 181, 48, 0.60) !important;
    border-radius: 14px !important;

    background: rgba(217, 181, 48, 0.07) !important;

    transition:
        border-color 0.25s ease,
        background-color 0.25s ease !important;
}

.cp-paas-contact .eapps-form-element-input-file-wrapper:hover {
    border-color: var(--mwcp-gold) !important;
    background: rgba(217, 181, 48, 0.12) !important;
}

/* =========================================================
   CHECKBOXEN UND RADIOBUTTONS
   ========================================================= */

.cp-paas-contact input[type="checkbox"],
.cp-paas-contact input[type="radio"] {
    accent-color: var(--mwcp-gold);
}

.cp-paas-contact .eapps-form-element-checkbox-label,
.cp-paas-contact .eapps-form-element-radio-label {
    color: var(--mwcp-text) !important;

    font-size: 14px !important;
    line-height: 1.55 !important;
}

/* =========================================================
   FEHLER- UND ERFOLGSMELDUNGEN
   ========================================================= */

.cp-paas-contact .eapps-form-element-error {
    margin-top: 7px !important;

    color: #b42318 !important;

    font-size: 13px !important;
    line-height: 1.4 !important;
}

.cp-paas-contact .eapps-form-error,
.cp-paas-contact .eapps-form-success {
    border-radius: 14px !important;
}

/* =========================================================
   UNTERER FORMULARBEREICH
   ========================================================= */

.cp-paas-contact .eapps-form-actions-container,
.cp-paas-contact .eapps-form-actions {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;

    background: transparent !important;
}

/* =========================================================
   ABSENDE-BUTTON
   ========================================================= */

.cp-paas-contact .eapps-form-actions-button.eapps-form-button,
.cp-paas-contact button[type="submit"],
.cp-paas-contact input[type="submit"] {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: auto !important;
    min-width: 118px !important;
    min-height: 42px !important;

    margin-top: 12px !important;
    margin-bottom: 0 !important;

    padding: 12px 18px !important;

    border: 0 !important;
    border-radius: 14px !important;

    background: var(--mwcp-dark) !important;
    background-color: var(--mwcp-dark) !important;
    background-image: none !important;

    color: #ffffff !important;

    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.1 !important;
    letter-spacing: 0.02em !important;

    text-align: center !important;
    text-decoration: none !important;
    text-transform: none !important;

    white-space: nowrap !important;

    box-shadow:
        0 10px 24px rgba(17, 24, 39, 0.16) !important;

    cursor: pointer !important;

    transition:
        transform 0.22s ease,
        background-color 0.22s ease,
        box-shadow 0.22s ease !important;
}

.cp-paas-contact .eapps-form-actions-button-label {
    color: #ffffff !important;

    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.1 !important;

    text-decoration: none !important;
}

/* Hover nur auf dem Button */
.cp-paas-contact .eapps-form-actions-button.eapps-form-button:hover,
.cp-paas-contact button[type="submit"]:hover,
.cp-paas-contact input[type="submit"]:hover {
    background: #000000 !important;
    background-color: #000000 !important;
    color: #ffffff !important;

    transform: translateY(-2px) !important;

    box-shadow:
        0 14px 30px rgba(17, 24, 39, 0.24) !important;
}

.cp-paas-contact .eapps-form-actions-button.eapps-form-button:active,
.cp-paas-contact button[type="submit"]:active,
.cp-paas-contact input[type="submit"]:active {
    transform: translateY(0) !important;
}

.cp-paas-contact .eapps-form-actions-button.eapps-form-button:focus-visible,
.cp-paas-contact button[type="submit"]:focus-visible,
.cp-paas-contact input[type="submit"]:focus-visible {
    outline: 2px solid rgba(17, 24, 39, 0.35) !important;
    outline-offset: 3px !important;
}

/* =========================================================
   EINBLENDANIMATION
   ========================================================= */

.cp-paas-contact .mwcp-contact-media,
.cp-paas-contact .mwcp-contact-form {
    opacity: 0;
    filter: blur(8px);
    transform: translateY(38px);

    transition:
        opacity 0.85s cubic-bezier(.2, .8, .2, 1),
        transform 0.85s cubic-bezier(.2, .8, .2, 1),
        filter 0.85s cubic-bezier(.2, .8, .2, 1);
}

.cp-paas-contact .mwcp-contact-form {
    transition-delay: 0.12s;
}

.cp-paas-contact.mwcp-contact-visible .mwcp-contact-media,
.cp-paas-contact.mwcp-contact-visible .mwcp-contact-form {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
}

/* Formularbox bleibt auch nach Animation ruhig */
.cp-paas-contact.mwcp-contact-visible .mwcp-contact-form:hover {
    transform: translateY(0) !important;
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {
    .cp-paas-contact {
        padding: 20px 16px;
    }

    .cp-paas-contact .mwcp-contact-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }

    .cp-paas-contact .mwcp-contact-media,
    .cp-paas-contact .mwcp-contact-media.mwcp-is-synced {
        width: 100%;
        height: auto !important;
        min-height: clamp(420px, 105vw, 680px);

        border-radius: 24px;
    }

    .cp-paas-contact .mwcp-contact-form {
        padding: clamp(24px, 5vw, 34px);
        border-radius: 24px;
    }
}

/* =========================================================
   SMARTPHONE
   ========================================================= */

@media (max-width: 600px) {
    .cp-paas-contact {
        padding-inline: 12px;
    }

    .cp-paas-contact .mwcp-contact-grid {
        gap: 22px;
    }

    .cp-paas-contact .mwcp-contact-media,
    .cp-paas-contact .mwcp-contact-media.mwcp-is-synced {
        min-height: 420px;
        border-radius: 20px;
    }

    .cp-paas-contact .mwcp-contact-form {
        padding: 22px 18px;
        border-radius: 20px;
    }

    .cp-paas-contact input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
    .cp-paas-contact select {
        min-height: 50px !important;
    }

    .cp-paas-contact textarea {
        min-height: 160px !important;
    }

    .cp-paas-contact .eapps-form-actions-button.eapps-form-button,
    .cp-paas-contact button[type="submit"],
    .cp-paas-contact input[type="submit"] {
        width: 100% !important;
        min-height: 42px !important;

        padding: 12px 16px !important;

        font-size: 13px !important;
    }
}

/* =========================================================
   REDUZIERTE BEWEGUNG
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
    .cp-paas-contact .mwcp-contact-media,
    .cp-paas-contact .mwcp-contact-form,
    .cp-paas-contact.mwcp-contact-visible .mwcp-contact-media,
    .cp-paas-contact.mwcp-contact-visible .mwcp-contact-form {
        opacity: 1 !important;
        filter: none !important;
        transform: none !important;

        transition: none !important;
        animation: none !important;
    }
}
