/* =========================================================
   COOL PRINT HERO – ELEMENTOR-SICHER
   ========================================================= */

.cpw-hero,
.cpw-hero *,
.cpw-hero *::before,
.cpw-hero *::after {
    box-sizing: border-box;
}

.cpw-hero {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    margin: 0 0 32px !important;
    padding: 0 !important;
    clear: both !important;
    isolation: isolate;
    background: transparent !important;
    box-shadow: none !important;
    font-family: "Inter", Arial, Helvetica, sans-serif !important;
}

.cpw-stage {
    position: relative !important;
    width: 100% !important;
    height: var(--cpw-height, 620px) !important;
    min-height: 280px;
    margin: 0 !important;
    overflow: hidden !important;
    isolation: isolate;
    background: var(--cpw-dark, #101010) !important;
    border: 0 !important;
    border-radius: var(--cpw-radius, 24px) !important;
    box-shadow: none !important;
}

/* =========================================================
   HINTERGRUNDBILD
   ========================================================= */

.cpw-image {
    position: absolute;
    inset: -12px;
    z-index: 1;
    background-color: #101010;
    background-image:
        linear-gradient(135deg, rgba(18, 18, 18, .15), rgba(0, 0, 0, .04)),
        var(--cpw-image);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    filter: brightness(.97) contrast(1.04) saturate(1.06);
    transform: translate3d(0, 0, 0) scale(1.035);
    transform-origin: center center;
    will-change: transform, filter;
    transition: filter .45s ease;
}

.cpw-stage:hover .cpw-image {
    filter: brightness(1.04) contrast(1.05) saturate(1.09);
}

/* =========================================================
   OVERLAYS
   ========================================================= */

.cpw-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, .08) 0%,
            rgba(0, 0, 0, .18) 50%,
            rgba(0, 0, 0, .18) 100%
        ),
        radial-gradient(
            circle at center,
            rgba(214, 173, 34, .10) 0%,
            rgba(214, 173, 34, .03) 34%,
            rgba(0, 0, 0, .18) 100%
        ),
        linear-gradient(
            90deg,
            rgba(0, 0, 0, calc(var(--cpw-overlay, .38) + .08)) 0%,
            rgba(0, 0, 0, var(--cpw-overlay, .38)) 44%,
            rgba(0, 0, 0, calc(var(--cpw-overlay, .38) - .12)) 74%,
            rgba(0, 0, 0, calc(var(--cpw-overlay, .38) + .06)) 100%
        );
}

.cpw-grid-glow {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    opacity: .78;
    background:
        radial-gradient(
            circle at 50% 45%,
            rgba(214, 173, 34, .20),
            transparent 24%
        ),
        linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, .045),
            transparent
        );
    mix-blend-mode: screen;
}

.cpw-soft-shine {
    position: absolute;
    inset: -2px;
    z-index: 4;
    pointer-events: none;
    opacity: 0;
    background: linear-gradient(
        120deg,
        transparent 0%,
        transparent 40%,
        rgba(255, 255, 255, .12) 49%,
        transparent 59%,
        transparent 100%
    );
    transform: translateX(-115%);
}

.cpw-stage:hover .cpw-soft-shine {
    opacity: 1;
    animation: cpw-shine 1.1s cubic-bezier(.22, 1, .36, 1);
}

@keyframes cpw-shine {
    to {
        transform: translateX(115%);
    }
}

/* =========================================================
   INHALT
   ========================================================= */

.cpw-content {
    position: relative;
    z-index: 5;
    display: flex;
    width: 100%;
    max-width: 1280px;
    height: 100%;
    margin: 0 auto;
    padding: 34px 24px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--cpw-light, #ffffff);
    opacity: 0;
    transform: translateY(18px);
}

.cpw-hero.cpw-ready .cpw-content {
    animation: cpw-intro .85s cubic-bezier(.22, 1, .36, 1) .12s forwards;
}

@keyframes cpw-intro {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.cpw-title {
    margin: 0 !important;
    padding: 0 !important;
    color: var(--cpw-light, #ffffff) !important;
    font-family: "Inter", Arial, Helvetica, sans-serif !important;
    font-size: clamp(30px, 3.4vw, 54px) !important;
    font-weight: 900 !important;
    font-style: italic !important;
    line-height: 1 !important;
    letter-spacing: .085em !important;
    text-transform: uppercase !important;
    text-shadow: none !important;
}

.cpw-title span {
    display: block;
    width: 100%;
    color: inherit !important;
    font: inherit !important;
    line-height: inherit !important;
    letter-spacing: inherit !important;
}

.cpw-title::after {
    content: "";
    display: block;
    width: 82px;
    height: 3px;
    margin: 16px auto 0;
    border-radius: 999px;
    background: var(--cpw-gold, #d6ad22);
    box-shadow: none !important;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.cpw-buttons {
    display: flex;
    margin-top: 34px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
}

.cpw-btn,
.cpw-btn:visited {
    position: relative !important;
    display: inline-flex !important;
    min-height: 48px !important;
    padding: 14px 22px !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    border: 0 !important;
    border-radius: 14px !important;
    background: #ffffff !important;
    color: #111827 !important;
    font-family: "Inter", Arial, Helvetica, sans-serif !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.1 !important;
    letter-spacing: .02em !important;
    text-align: center !important;
    text-decoration: none !important;
    text-transform: none !important;
    white-space: nowrap !important;
    box-shadow: none !important;
    transition:
        transform .22s ease,
        background-color .22s ease,
        color .22s ease,
        box-shadow .22s ease !important;
}

.cpw-btn::before,
.cpw-btn::after {
    display: none !important;
    content: none !important;
}

.cpw-btn span {
    position: relative;
    z-index: 2;
    color: inherit !important;
    font: inherit !important;
}

.cpw-btn-primary {
    gap: 9px !important;
}

.cpw-btn:hover {
    background: #f5f5f5 !important;
    color: #111827 !important;
    transform: translateY(-2px) !important;
    box-shadow: none !important;
}

.cpw-btn:active {
    transform: translateY(0) !important;
}

.cpw-btn:focus {
    outline: none !important;
}

.cpw-btn:focus-visible {
    outline: 2px solid rgba(255, 255, 255, .72) !important;
    outline-offset: 3px !important;
}

.cpw-cart-icon {
    position: relative;
    z-index: 2;
    display: block !important;
    flex: 0 0 auto !important;
    width: 16px !important;
    height: 16px !important;
    margin: 0 !important;
    padding: 0 !important;
    color: inherit !important;
    fill: currentColor !important;
    transition: transform .22s ease !important;
}

.cpw-btn-primary:hover .cpw-cart-icon {
    transform: translateX(-1px) rotate(-4deg) scale(1.06);
}

/* =========================================================
   ELEMENTOR-CONTAINER
   Der Hero bleibt vollständig innerhalb des vorhandenen
   Elementor-Containers und übernimmt dessen Breite.
   ========================================================= */

.elementor-widget-html:has(.cpw-hero),
.elementor-widget-html:has(.cpw-hero) > .elementor-widget-container {
    width: 100% !important;
    max-width: 100% !important;
    background: transparent !important;
    box-shadow: none !important;
}

/* =========================================================
   MOBILE – WEITERHIN 100 % DES ELEMENTOR-CONTAINERS
   ========================================================= */

@media (max-width: 768px) {
    .cpw-hero {
        width: 100% !important;
        max-width: 100% !important;
        left: auto !important;
        right: auto !important;
        transform: none !important;
        margin: 0 0 24px !important;
        padding: 0 !important;
        overflow: visible !important;
    }

    .cpw-stage {
        width: 100% !important;
        height: var(--cpw-mobile-height, 360px) !important;
        min-height: 0 !important;
        overflow: hidden !important;
        border: 0 !important;
        border-radius: 24px !important;
        -webkit-mask-image: -webkit-radial-gradient(white, black);
        clip-path: inset(0 round 24px);
        box-shadow: none !important;
    }

    .cpw-image,
    .cpw-overlay,
    .cpw-grid-glow,
    .cpw-soft-shine {
        border-radius: inherit !important;
    }

    .cpw-image {
        inset: -8px;
        background-position: center center;
    }

    .cpw-content {
        width: 100% !important;
        height: 100% !important;
        min-height: 0 !important;
        padding: 22px 16px;
    }

    .cpw-title {
        font-size: clamp(25px, 7.7vw, 36px) !important;
        line-height: 1.02 !important;
        letter-spacing: .04em !important;
    }

    .cpw-title::after {
        width: 62px;
        height: 3px;
        margin-top: 11px;
    }

    .cpw-buttons {
        width: 100%;
        margin-top: 21px;
        gap: 9px;
    }

    .cpw-btn,
    .cpw-btn:visited {
        width: auto !important;
        min-width: 150px !important;
        max-width: none !important;
        min-height: 42px !important;
        padding: 11px 17px !important;
        border-radius: 11px !important;
        font-size: 13px !important;
    }
}

@media (max-width: 420px) {
    .cpw-stage {
        height: 330px !important;
        border-radius: 22px !important;
        clip-path: inset(0 round 22px);
    }

    .cpw-content {
        padding: 20px 14px;
    }

    .cpw-title {
        font-size: clamp(24px, 7.6vw, 32px) !important;
    }

    .cpw-buttons {
        margin-top: 18px;
    }
}

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

@media (prefers-reduced-motion: reduce) {
    .cpw-content {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
    }

    .cpw-image,
    .cpw-btn,
    .cpw-soft-shine {
        transition: none !important;
        animation: none !important;
    }
}

/* =========================================================
   Zusammengeführt aus den drei ursprünglichen Widgets
   ========================================================= */

.elementor-widget-container > .cp-video-cards-section,
  .elementor-widget-html .cp-video-cards-section,
  .elementor-html .cp-video-cards-section {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .cp-video-cards-section {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 32px 0;
    background: transparent;
    box-sizing: border-box;
    overflow: hidden;
  }

  .cp-video-cards-wrap {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .cp-video-card {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 460px;
    border-radius: 32px;
    overflow: hidden;
    text-decoration: none;
    background: #101010;
    border: 1px solid rgba(214, 173, 34, 0.20);
    box-shadow:
      0 24px 70px rgba(0, 0, 0, 0.18),
      inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    isolation: isolate;
    transform: translateY(36px) scale(0.965);
    opacity: 0;
    animation: cpCardIntro 1s cubic-bezier(.22, 1, .36, 1) forwards;
    transition:
      transform 0.65s cubic-bezier(.22, 1, .36, 1),
      box-shadow 0.65s cubic-bezier(.22, 1, .36, 1),
      border-color 0.45s ease;
  }

  .cp-video-card-left {
    animation-delay: 0.12s;
  }

  .cp-video-card-right {
    animation-delay: 0.26s;
  }

  @keyframes cpCardIntro {
    to {
      transform: translateY(0) scale(1);
      opacity: 1;
    }
  }

  .cp-card-video {
    position: absolute;
    z-index: 1;
    width: 112%;
    height: 112%;
    left: -6%;
    top: -6%;
    object-fit: cover;
    object-position: center center;
    transform: scale(1);
    filter: brightness(0.86) contrast(1.06) saturate(1.08);
    transition:
      transform 1.2s cubic-bezier(.22, 1, .36, 1),
      filter 0.7s ease;
  }

  .cp-card-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
      linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.10) 0%,
        rgba(0, 0, 0, 0.24) 48%,
        rgba(0, 0, 0, 0.38) 100%
      ),
      radial-gradient(
        circle at center,
        rgba(214, 173, 34, 0.08) 0%,
        rgba(214, 173, 34, 0.02) 36%,
        rgba(0, 0, 0, 0.20) 100%
      );
    transition: background 0.45s ease, opacity 0.45s ease;
  }

  .cp-card-shine {
    position: absolute;
    inset: -2px;
    z-index: 3;
    pointer-events: none;
    background:
      linear-gradient(
        120deg,
        transparent 0%,
        transparent 38%,
        rgba(255, 255, 255, 0.16) 48%,
        transparent 58%,
        transparent 100%
      );
    transform: translateX(-115%);
    opacity: 0;
  }

  .cp-card-content {
    position: relative;
    z-index: 5;
    width: 100%;
    max-width: 720px;
    padding: 54px 34px;
    box-sizing: border-box;
    text-align: center;
    color: #ffffff;
  }

  .cp-card-content h2 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(36px, 3.25vw, 58px);
    line-height: 1;
    font-weight: 900;
    font-style: italic;
    letter-spacing: 0.105em;
    text-transform: uppercase;
    text-shadow: 0 14px 42px rgba(0, 0, 0, 0.55);
  }

  .cp-card-line {
    display: block;
    width: 54px;
    height: 3px;
    margin: 20px auto 0;
    border-radius: 999px;
    background: #d6ad22;
    box-shadow: 0 0 24px rgba(214, 173, 34, 0.58);
    transform: scaleX(0);
    transform-origin: center;
    animation: cpLineIntro 0.75s cubic-bezier(.22, 1, .36, 1) 0.75s forwards;
  }

  @keyframes cpLineIntro {
    to {
      transform: scaleX(1);
    }
  }

  .cp-card-content p {
    margin: 20px 0 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(15px, 1.15vw, 20px);
    line-height: 1.35;
    font-weight: 900;
    font-style: italic;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    text-shadow: 0 10px 28px rgba(0, 0, 0, 0.55);
  }

  /* Button im MW Buy Now Styling - weiß mit schwarzer Schrift */
  .cp-card-btn {
    position: relative;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 42px !important;
    margin-top: 36px !important;
    padding: 12px 18px !important;
    border: 0 !important;
    border-radius: 14px !important;
    background: #ffffff !important;
    color: #111827 !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;
    overflow: hidden;
    transition: transform .22s ease, background-color .22s ease, color .22s ease, box-shadow .22s ease !important;
    cursor: pointer !important;
  }

  .cp-card-btn::before {
    display: none !important;
    content: none !important;
  }

  .cp-video-card:hover {
    transform: translateY(-8px) scale(1.012);
    border-color: rgba(255, 255, 255, 0.22);
    box-shadow:
      0 36px 98px rgba(0, 0, 0, 0.30),
      inset 0 0 0 1px rgba(214, 173, 34, 0.22);
  }

  .cp-video-card:hover .cp-card-video {
    transform: scale(1.055);
    filter: brightness(0.98) contrast(1.08) saturate(1.12);
  }

  .cp-video-card:hover .cp-card-overlay {
    background:
      linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.06) 0%,
        rgba(0, 0, 0, 0.18) 48%,
        rgba(0, 0, 0, 0.32) 100%
      ),
      radial-gradient(
        circle at center,
        rgba(214, 173, 34, 0.10) 0%,
        rgba(214, 173, 34, 0.02) 36%,
        rgba(0, 0, 0, 0.14) 100%
      );
  }

  .cp-video-card:hover .cp-card-shine {
    opacity: 1;
    animation: cpShineMove 1.1s cubic-bezier(.22, 1, .36, 1);
  }

  @keyframes cpShineMove {
    to {
      transform: translateX(115%);
    }
  }

  .cp-video-card:hover .cp-card-btn {
    background: #f5f5f5 !important;
    color: #111827 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 14px 30px rgba(17, 24, 39, .24) !important;
  }

  .cp-video-card:active .cp-card-btn {
    transform: translateY(0) !important;
  }

  @media (max-width: 1200px) {
    .cp-video-card {
      min-height: 430px;
    }

    .cp-card-content h2 {
      font-size: clamp(32px, 3.5vw, 50px);
    }
  }

  @media (max-width: 1024px) {
    .cp-video-cards-wrap {
      grid-template-columns: 1fr;
      gap: 20px;
    }

    .cp-video-card {
      min-height: 420px;
    }

    .cp-card-video {
      width: 116%;
      height: 116%;
      left: -8%;
      top: -8%;
    }
  }

  @media (max-width: 767px) {
    .cp-video-cards-section {
      width: 100% !important;
      max-width: 100% !important;
      margin: 0 !important;
      padding: 20px 0;
    }

    .cp-video-cards-wrap {
      gap: 16px;
    }

    .cp-video-card {
      min-height: 450px;
      border-radius: 24px;
    }

    .cp-card-video {
      width: 122%;
      height: 122%;
      left: -11%;
      top: -11%;
    }

    .cp-card-content {
      padding: 42px 20px;
    }

    .cp-card-content h2 {
      font-size: clamp(30px, 9vw, 44px);
      letter-spacing: 0.075em;
    }

    .cp-card-content p {
      font-size: 14px;
      letter-spacing: 0.055em;
    }

    .cp-card-btn {
      width: 100% !important;
      max-width: 310px !important;
      min-height: 40px !important;
      padding: 11px 14px !important;
      font-size: 13px !important;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .cp-video-card,
    .cp-card-line {
      animation: none;
      opacity: 1;
      transform: none;
    }

    .cp-card-video,
    .cp-card-btn,
    .cp-video-card {
      transition: none;
    }
  }

/* =========================================================
   Zusammengeführt aus den drei ursprünglichen Widgets
   ========================================================= */

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

/* Elementor-/Theme-Abstände nicht künstlich überschreiben:
   Das Widget bleibt vollständig innerhalb seines Elterncontainers. */
.elementor-widget-container > .cp-newsletter-widget,
.elementor-html .cp-newsletter-widget,
.elementor-widget-html .cp-newsletter-widget {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

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

  position: relative;

  /* Übernimmt exakt die Breite des Elementor-Containers */
  width: 100% !important;
  max-width: 100% !important;

  margin: 0 !important;
  padding: clamp(54px, 6vw, 96px) 0;

  overflow: hidden;
  background: transparent !important;
  color: var(--cp-newsletter-black);
  isolation: isolate;
}

.cp-newsletter-widget::before {
  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;

  -webkit-mask-image:
    radial-gradient(circle at center, black 0%, transparent 76%);

  mask-image:
    radial-gradient(circle at center, black 0%, transparent 76%);

  opacity: 0.36;
  pointer-events: none;
  z-index: -1;
}

.cp-newsletter-container {
  /* Kein eigener Innencontainer mehr */
  width: 100% !important;
  max-width: 100% !important;

  margin: 0 !important;
  padding: 0 !important;
}

/* Hauptkarte */
.cp-newsletter-card {
  position: relative;

  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
  align-items: center;

  min-height: 470px;

  padding: clamp(34px, 5vw, 72px);

  overflow: hidden;

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

  background:
    radial-gradient(
      circle at 86% 20%,
      rgba(217, 181, 48, 0.19),
      transparent 36%
    ),
    radial-gradient(
      circle at 75% 90%,
      rgba(217, 181, 48, 0.09),
      transparent 38%
    ),
    rgba(255, 255, 255, 0.72);

  box-shadow:
    0 24px 76px rgba(0, 0, 0, 0.075);

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

  isolation: isolate;
}

.cp-newsletter-card::before {
  content: "";
  position: absolute;

  top: -160px;
  right: -130px;

  width: 460px;
  height: 460px;

  border: 1px solid rgba(217, 181, 48, 0.24);
  border-radius: 50%;

  pointer-events: none;
}

.cp-newsletter-card::after {
  content: "";
  position: absolute;

  right: 18%;
  bottom: -250px;

  width: 440px;
  height: 440px;

  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 50%;

  pointer-events: none;
}

/* Linker Inhalt */
.cp-newsletter-content {
  position: relative;
  z-index: 3;

  width: 100%;
  max-width: 720px;

  padding-right: clamp(15px, 5vw, 90px);
}

.cp-newsletter-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  margin-bottom: 18px;

  color: var(--cp-newsletter-black);

  font-size: 13px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.cp-newsletter-eyebrow::before {
  content: "";

  width: 34px;
  height: 2px;

  border-radius: 999px;
  background: var(--cp-newsletter-black);

  transform-origin: left;
}

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

/* Überschrift wie bestehendes Widget */
.cp-newsletter-content h2 {
  margin: 0 0 20px !important;

  color: var(--cp-newsletter-black) !important;

  font-family: inherit !important;
  font-size: clamp(38px, 5vw, 68px) !important;
  line-height: 0.99 !important;
  letter-spacing: -0.052em !important;
  font-weight: 600 !important;
}

.cp-newsletter-content h2 span {
  display: block;
  color: var(--cp-newsletter-gold) !important;
}

.cp-newsletter-card.cp-newsletter-in-view
.cp-newsletter-content h2 {
  animation:
    cpNewsletterTitleReveal 1.05s cubic-bezier(.2, .8, .2, 1) both;
}

/* Beschreibung */
.cp-newsletter-description {
  max-width: 620px;

  margin: 0 !important;

  color: var(--cp-newsletter-text) !important;

  font-family: inherit !important;
  font-size: 16px !important;
  line-height: 1.75 !important;
  font-weight: 400 !important;
}

.cp-newsletter-card.cp-newsletter-in-view
.cp-newsletter-description {
  animation:
    cpNewsletterTextReveal 1.05s cubic-bezier(.2, .8, .2, 1) 0.12s both;
}

/* Formularbereich */
.cp-newsletter-form {
  width: 100%;
  max-width: 680px;

  margin-top: 30px;
}

/* Häufige Mailchimp-Wrapper */
.cp-newsletter-form .mc4wp-form,
.cp-newsletter-form .mc4wp-form-fields,
.cp-newsletter-form .mailchimp-form,
.cp-newsletter-form form {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

/*
 * E-Mail-Feld und Button bilden gemeinsam eine Eingabeleiste.
 * Funktioniert mit dem üblichen MC4WP-Formularaufbau.
 */
.cp-newsletter-form .mc4wp-form-fields {
  display: flex;
  align-items: stretch;
  gap: 8px;

  padding: 7px !important;

  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 18px;

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

  box-shadow:
    0 16px 42px rgba(0, 0, 0, 0.07);

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

/* Absätze im Mailchimp-Formular neutralisieren */
.cp-newsletter-form .mc4wp-form-fields > p {
  display: contents !important;
  margin: 0 !important;
}

/* Mailchimp-E-Mail-Feld */
.cp-newsletter-form input[type="email"] {
  flex: 1 1 auto !important;

  width: 100% !important;
  min-width: 0 !important;
  min-height: 52px !important;

  margin: 0 !important;
  padding: 12px 16px !important;

  border: 0 !important;
  border-radius: 12px !important;
  outline: 0 !important;

  background: transparent !important;
  color: var(--cp-newsletter-black) !important;

  font-family: inherit !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  line-height: 1.3 !important;

  box-shadow: none !important;
}

.cp-newsletter-form input[type="email"]::placeholder {
  color: rgba(0, 0, 0, 0.42) !important;
  opacity: 1 !important;
}

/* Fokus auf komplette Eingabeleiste */
.cp-newsletter-form .mc4wp-form-fields:focus-within {
  border-color: rgba(217, 181, 48, 0.72);

  box-shadow:
    0 18px 48px rgba(0, 0, 0, 0.08),
    0 0 0 4px rgba(217, 181, 48, 0.10);
}

/* Submit-Button wie bestehende Buttons */
.cp-newsletter-form input[type="submit"],
.cp-newsletter-form button[type="submit"] {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  flex: 0 0 auto !important;

  min-width: 158px !important;
  min-height: 52px !important;

  margin: 0 !important;
  padding: 12px 20px !important;

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

  background: var(--cp-newsletter-button, #111827) !important;
  background-color: var(--cp-newsletter-button, #111827) !important;
  background-image: none !important;

  color: var(--cp-newsletter-white, #ffffff) !important;

  font-family: inherit !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.1 !important;
  letter-spacing: 0.02em !important;
  text-transform: none !important;

  text-align: center !important;
  text-decoration: none !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-newsletter-form input[type="submit"]:hover,
.cp-newsletter-form button[type="submit"]:hover {
  background: var(--cp-newsletter-black, #000000) !important;
  background-color: var(--cp-newsletter-black, #000000) !important;
  color: var(--cp-newsletter-white, #ffffff) !important;

  transform: translateY(-2px) !important;

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

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

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

/* Datenschutz/Checkboxen */
.cp-newsletter-form label {
  color: var(--cp-newsletter-text) !important;

  font-family: inherit !important;
  font-size: 13px !important;
  line-height: 1.55 !important;
  font-weight: 400 !important;
}

.cp-newsletter-form input[type="checkbox"] {
  accent-color: var(--cp-newsletter-gold);
}

/* Mailchimp-Rückmeldungen */
.cp-newsletter-form .mc4wp-response {
  margin-top: 12px !important;

  color: var(--cp-newsletter-text) !important;

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

.cp-newsletter-note {
  margin-top: 13px;

  color: var(--cp-newsletter-soft);

  font-size: 12.5px;
  line-height: 1.5;
  font-weight: 400;
}

/* Rechte visuelle Ebene */
.cp-newsletter-visual {
  position: relative;
  z-index: 2;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  min-height: 340px;

  perspective: 1000px;
}

/* Umschlag */
.cp-newsletter-envelope {
  position: relative;
  z-index: 3;

  width: min(390px, 82%);
  aspect-ratio: 1.38 / 1;

  border: 1px solid rgba(0, 0, 0, 0.10);
  border-radius: 28px;

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.98),
      rgba(243, 241, 232, 0.98)
    );

  box-shadow:
    0 38px 80px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);

  transform:
    rotateY(-8deg)
    rotateX(3deg)
    rotateZ(-5deg);

  transition:
    transform 0.6s cubic-bezier(.2, .8, .2, 1),
    box-shadow 0.6s cubic-bezier(.2, .8, .2, 1);
}

.cp-newsletter-card:hover .cp-newsletter-envelope {
  transform:
    rotateY(-3deg)
    rotateX(1deg)
    rotateZ(-2deg)
    translateY(-7px);

  box-shadow:
    0 48px 100px rgba(0, 0, 0, 0.18);
}

/* Oberer Briefumschlagbereich */
.cp-newsletter-envelope-top {
  position: absolute;
  inset: 0 0 auto 0;

  height: 55%;

  overflow: hidden;

  border-radius: 27px 27px 0 0;
}

.cp-newsletter-envelope-top::before {
  content: "";
  position: absolute;

  left: 50%;
  top: -62%;

  width: 80%;
  aspect-ratio: 1 / 1;

  border: 1px solid rgba(217, 181, 48, 0.35);
  border-radius: 22px;

  background:
    linear-gradient(
      145deg,
      var(--cp-newsletter-gold-light, #f4d75a),
      var(--cp-newsletter-gold, #D9B530)
    );

  box-shadow:
    0 24px 55px rgba(217, 181, 48, 0.24);

  transform:
    translateX(-50%)
    rotate(45deg);
}

/* Inhalt im Umschlag */
.cp-newsletter-envelope-content {
  position: absolute;

  left: 50%;
  top: 43%;

  z-index: 2;

  display: flex;
  flex-direction: column;
  align-items: center;

  width: 74%;

  padding: 25px 20px;

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

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

  box-shadow:
    0 20px 48px rgba(0, 0, 0, 0.10);

  transform: translate(-50%, -50%);
}

.cp-newsletter-envelope-content span {
  margin-bottom: 8px;

  color: var(--cp-newsletter-gold);

  font-size: 11px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.22em;
}

.cp-newsletter-envelope-content strong {
  color: var(--cp-newsletter-black);

  font-size: clamp(22px, 2.2vw, 32px);
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.cp-newsletter-envelope-content small {
  margin-top: 9px;

  color: var(--cp-newsletter-soft);

  font-size: 11px;
  line-height: 1.4;
}

/* Vorderseite des Umschlags */
.cp-newsletter-envelope-front {
  position: absolute;
  inset: auto 0 0 0;

  z-index: 4;

  height: 52%;

  overflow: hidden;

  border-radius: 0 0 27px 27px;

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.98),
      rgba(239, 237, 227, 0.98)
    );
}

.cp-newsletter-envelope-front::before,
.cp-newsletter-envelope-front::after {
  content: "";
  position: absolute;

  bottom: -75%;

  width: 80%;
  aspect-ratio: 1 / 1;

  border: 1px solid rgba(0, 0, 0, 0.055);

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

  transform: rotate(45deg);
}

.cp-newsletter-envelope-front::before {
  left: -37%;
}

.cp-newsletter-envelope-front::after {
  right: -37%;
}

/* Schwebende Infokarten */
.cp-newsletter-floating-card {
  position: absolute;
  z-index: 5;

  display: grid;
  gap: 5px;

  min-width: 155px;

  padding: 16px 18px;

  border: 1px solid rgba(217, 181, 48, 0.44);
  border-radius: 18px;

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

  box-shadow:
    0 20px 46px rgba(0, 0, 0, 0.10);

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

.cp-newsletter-floating-card span {
  color: var(--cp-newsletter-gold);

  font-size: 10px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.cp-newsletter-floating-card strong {
  color: var(--cp-newsletter-black);

  font-size: 13px;
  line-height: 1.2;
  font-weight: 700;
}

.cp-newsletter-floating-card-one {
  left: 0;
  top: 14%;

  transform: rotate(-5deg);
}

.cp-newsletter-floating-card-two {
  right: -2%;
  bottom: 12%;

  transform: rotate(5deg);
}

/* Orbitlinien */
.cp-newsletter-orbit {
  position: absolute;

  border: 1px solid rgba(217, 181, 48, 0.20);
  border-radius: 50%;

  pointer-events: none;
}

.cp-newsletter-orbit-one {
  width: 420px;
  height: 240px;

  transform: rotate(-16deg);
}

.cp-newsletter-orbit-two {
  width: 310px;
  height: 430px;

  transform: rotate(28deg);
}

/* Scroll-Animation */
.cp-newsletter-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-newsletter-animate.cp-newsletter-in-view {
  opacity: 1;

  transform:
    translateY(0)
    scale(1);

  filter: blur(0);
}

/* Animationen */
@keyframes cpNewsletterTitleReveal {
  0% {
    opacity: 0;
    transform: translateY(28px);
    filter: blur(8px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

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

  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes cpNewsletterLineGrow {
  0% {
    opacity: 0;
    transform: scaleX(0);
  }

  100% {
    opacity: 1;
    transform: scaleX(1);
  }
}

/* Tablet */
@media (max-width: 1050px) {
  .cp-newsletter-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 55px;

    min-height: 0;
  }

  .cp-newsletter-content {
    max-width: none;
    padding-right: 0;
  }

  .cp-newsletter-visual {
    min-height: 320px;
  }

  .cp-newsletter-envelope {
    width: min(420px, 72%);
  }

  .cp-newsletter-floating-card-one {
    left: 12%;
  }

  .cp-newsletter-floating-card-two {
    right: 10%;
  }
}

/* Smartphone */
@media (max-width: 700px) {
  .cp-newsletter-widget {
    padding: 50px 0;
  }

  .cp-newsletter-container {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .cp-newsletter-card {
    gap: 42px;

    padding: 32px 22px;

    border-radius: 24px;
  }

  .cp-newsletter-content h2 {
    font-size: clamp(36px, 12vw, 52px) !important;
  }

  .cp-newsletter-description {
    font-size: 15px !important;
  }

  .cp-newsletter-form {
    margin-top: 24px;
  }

  .cp-newsletter-form .mc4wp-form-fields {
    display: grid;
    grid-template-columns: minmax(0, 1fr);

    gap: 8px;

    border-radius: 16px;
  }

  .cp-newsletter-form input[type="email"],
  .cp-newsletter-form input[type="submit"],
  .cp-newsletter-form button[type="submit"] {
    width: 100% !important;
    min-width: 0 !important;
  }

  .cp-newsletter-form input[type="submit"],
  .cp-newsletter-form button[type="submit"] {
    min-height: 48px !important;

    padding: 11px 14px !important;

    font-size: 13px !important;
  }

  .cp-newsletter-visual {
    min-height: 250px;
  }

  .cp-newsletter-envelope {
    width: 76%;
    border-radius: 22px;
  }

  .cp-newsletter-envelope-content {
    padding: 20px 14px;
    border-radius: 16px;
  }

  .cp-newsletter-floating-card {
    min-width: 128px;

    padding: 13px 14px;

    border-radius: 15px;
  }

  .cp-newsletter-floating-card-one {
    left: 0;
    top: 8%;
  }

  .cp-newsletter-floating-card-two {
    right: 0;
    bottom: 8%;
  }
}

/* Sehr kleine Smartphones */
@media (max-width: 480px) {
  .cp-newsletter-card {
    padding: 28px 18px;
  }

  .cp-newsletter-visual {
    min-height: 220px;
  }

  .cp-newsletter-envelope {
    width: 82%;
  }

  .cp-newsletter-envelope-content strong {
    font-size: 21px;
  }

  .cp-newsletter-floating-card {
    display: none;
  }

  .cp-newsletter-orbit-one {
    width: 300px;
    height: 180px;
  }

  .cp-newsletter-orbit-two {
    width: 220px;
    height: 310px;
  }
}

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

  .cp-newsletter-envelope {
    transition: none !important;
  }
}
