/* === Startseite (Home 2): Produkt links, News-Spalte rechts, weitere Instrumente als Karten === */
.ei-home2 {
  --ei-bg-card: #11111d;
  --ei-bg-thumb: #1b1b2c;
  --ei-line: rgba(255, 255, 255, .08);
  --ei-line-card: rgba(255, 255, 255, .07);
  --ei-soft: #c9c9d8;
  --ei-dim: #9a9ab3;
  max-width: 1570px; /* = Breite des Header-Inhalts (1550px + Rand) */
  margin-inline: max(calc(-1 * var(--wp--style--root--padding-left, 0px)), (100% - 1570px) / 2) !important; /* bündig mit Logo und Menü */
  padding: 0 10px 96px;
  box-sizing: border-box;
  font-family: var(--wp--preset--font-family--manrope, Manrope, sans-serif);
  color: #ebebf5;
}
.ei-home2 > * { margin-block: 0; }
.ei-hp--osc    { --acc: #df2a2a; --acc-btn: #de2c2c; --acc-text: #fff; --acc-kicker: #ff6b6b; }
.ei-hp--melody { --acc: #f4a203; --acc-btn: #f4a203; --acc-text: #111; --acc-kicker: #f4a203; }
.ei-hc--molli  { --acc: #6fa3cc; --acc-btn: #4b85b3; --acc-text: #fff; }
.ei-hc--drums  { --acc: #ffa800; --acc-btn: #ffa800; --acc-text: #111; }
.ei-hc--fx     { --acc: #29e1f7; --acc-btn: #29e1f7; --acc-text: #111; }

/* Produktabschnitt */
.ei-hp { display: flex; flex-wrap: wrap; gap: 64px; align-items: flex-start; justify-content: center; padding: 64px 0; }
.ei-hp--osc { padding-top: 72px; }
.ei-hp > * { margin-block: 0 !important; }
.ei-hp-main { flex: 1 1 480px; max-width: 640px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.ei-hp--osc .ei-hp-main { gap: 22px; }
.ei-hp-main > * { margin-block: 0 !important; }
.ei-hp-icon img { width: 56px; height: 56px; border-radius: 12px; display: block; }
.ei-hp--osc .ei-hp-icon img { width: 64px; height: 64px; border-radius: 14px; }
.ei-home2 .ei-hp-title { margin: 0; font-family: var(--wp--preset--font-family--roboto-slab, "Roboto Slab", serif); font-weight: 800; font-size: 64px; line-height: 1; letter-spacing: -.5px; color: #fff; }
.ei-home2 .ei-hp--osc .ei-hp-title { font-size: clamp(52px, 8vw, 84px); line-height: .95; letter-spacing: -1px; }
.ei-hp-title span, .ei-hc h3 span { color: var(--acc); }
.ei-home2 .ei-hp-lead { font-size: 17px; line-height: 1.55; max-width: 600px; color: var(--ei-soft); }
.ei-home2 .ei-hp--osc .ei-hp-lead { font-size: 18px; }
.ei-hp-shot { margin-top: 10px !important; max-width: 640px; }
.ei-hp-shot img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; border: 1px solid var(--ei-line); display: block; }

/* Buttons in Produktfarbe */
.ei-home2 .wp-block-buttons { gap: 12px; }
.ei-home2 .ei-hp-btn .wp-block-button__link { background: var(--acc-btn); color: var(--acc-text); border: 1px solid var(--acc-btn); border-radius: 10px; padding: 13px 22px; font-family: inherit; font-weight: 700; font-size: 15px; line-height: 1.2; text-transform: none; letter-spacing: 0; }
.ei-home2 .ei-hp-btn.is-style-outline .wp-block-button__link { background: transparent; color: #ebebf5; border-color: rgba(255, 255, 255, .25); font-weight: 500; }
.ei-home2 .ei-hp-btn .wp-block-button__link:hover { filter: brightness(1.1); text-decoration: none; }
.ei-home2 .ei-hp-btn.is-style-outline .wp-block-button__link:hover { border-color: rgba(255, 255, 255, .55); filter: none; }

/* News-Spalte */
.ei-hp-news { flex: 1 1 400px; max-width: 660px; min-width: 0; display: flex; flex-direction: column; gap: 18px; padding-top: 6px; }
.ei-hp-news > * { margin-block: 0 !important; }
.ei-home2 .ei-hp-kicker { display: flex; align-items: center; gap: 10px; margin: 0; font-family: inherit; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; font-weight: 700; line-height: 1.4; color: var(--acc-kicker, var(--ei-dim)); }
.ei-hp-news .ei-hp-kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--acc); flex: none; }
.ei-hp-news .wp-block-post-template { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 18px; }
.ei-hp-news .wp-block-query { margin: 0; }
.ei-hp-news .wp-block-post-template > .wp-block-post { margin: 0 !important; }
.ei-hn-card { position: relative; background: var(--ei-bg-card); border: 1px solid var(--ei-line-card); border-radius: 14px; padding: 12px; transition: border-color .2s; }
.ei-hn-card:hover { border-color: rgba(255, 255, 255, .18); }
.ei-hn-card > *, .ei-hn-text > * { margin-block: 0 !important; }
.ei-hn-card .wp-block-post-featured-image { position: relative; margin: 0; overflow: hidden; background: var(--ei-bg-thumb); border-radius: 10px; }
.ei-hn-card .wp-block-post-featured-image img { border-radius: 10px; display: block; }
.ei-hn-text { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ei-home2 .ei-hn-type { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--ei-dim); line-height: 1.4; }
.ei-home2 .ei-hn-type a { color: inherit; text-decoration: none; pointer-events: none; }
.ei-home2 .ei-hn-title { font-family: var(--wp--preset--font-family--roboto-slab, "Roboto Slab", serif); font-weight: 300; font-size: 17px; line-height: 1.3; margin: 0; }
.ei-home2 .ei-hn-title a { color: #ebebf5; text-decoration: none; }
.ei-home2 .ei-hn-title a::after { content: ""; position: absolute; inset: 0; border-radius: 14px; } /* ganze Karte klickbar */
.ei-home2 .ei-hn-title a:hover { color: #fff; text-decoration: none; }
/* große Karte */
:is(.ei-hn-stack .is-big, .ei-hn-stack:not(.is-ready) .wp-block-post:first-child) .ei-hn-card { padding-bottom: 18px; display: flex; flex-direction: column; gap: 12px; }
:is(.ei-hn-stack .is-big, .ei-hn-stack:not(.is-ready) .wp-block-post:first-child) .ei-hn-text { padding: 0 6px; gap: 12px; }
.ei-home2 :is(.ei-hn-stack .is-big, .ei-hn-stack:not(.is-ready) .wp-block-post:first-child) .ei-hn-title { font-size: 22px; line-height: 1.25; }
/* kompakte Karten */
:is(.ei-hn-stack.is-ready .wp-block-post:not(.is-big), .ei-hn-stack:not(.is-ready) .wp-block-post:not(:first-child)) .ei-hn-card { display: flex; gap: 16px; align-items: center; }
:is(.ei-hn-stack.is-ready .wp-block-post:not(.is-big), .ei-hn-stack:not(.is-ready) .wp-block-post:not(:first-child)) .wp-block-post-featured-image { flex: 0 0 132px; border-radius: 8px; }
:is(.ei-hn-stack.is-ready .wp-block-post:not(.is-big), .ei-hn-stack:not(.is-ready) .wp-block-post:not(:first-child)) .wp-block-post-featured-image img { border-radius: 8px; }
/* Play-Button auf Video-Beiträgen */
.ei-hn-card .format-video .wp-block-post-featured-image::after,
.format-video .ei-hn-card .wp-block-post-featured-image::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 48px; height: 48px; transform: translate(-50%, -50%);
  border-radius: 50%; background: var(--acc) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M5 3l8 5-8 5z' fill='%23fff'/%3E%3C/svg%3E") 55% 50% / 16px no-repeat;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .45);
}
.ei-hp--melody .format-video .ei-hn-card .wp-block-post-featured-image::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M5 3l8 5-8 5z' fill='%23111'/%3E%3C/svg%3E"); }
:is(.ei-hn-stack.is-ready .wp-block-post:not(.is-big), .ei-hn-stack:not(.is-ready) .wp-block-post:not(:first-child)).format-video .ei-hn-card .wp-block-post-featured-image::after { width: 34px; height: 34px; background-size: 12px; }
.ei-home2 .ei-hp-all { margin: 0; padding: 6px 2px; font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; }
.ei-home2 .ei-hp-all a { color: #ebebf5; text-decoration: none; }
.ei-home2 .ei-hp-all a:hover { color: #fff; }

/* Trennlinien */
.ei-home2 .ei-hp-sep { border: 0; height: 1px; background: var(--ei-line); width: 100%; max-width: none; margin: 0; opacity: 1; }

/* Weitere Instrumente */
.ei-hp-more { padding-top: 64px; display: flex; flex-direction: column; gap: 28px; }
.ei-hp-more > * { margin-block: 0 !important; }
.ei-hp-more .ei-hp-kicker { color: var(--ei-dim); }
.ei-home2 .ei-hp-grid { gap: 24px; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
@media (max-width: 1000px) { .ei-home2 .ei-hp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
@media (max-width: 640px) { .ei-home2 .ei-hp-grid { grid-template-columns: minmax(0, 1fr) !important; } }
.ei-hc { background: var(--ei-bg-card); border: 1px solid var(--ei-line-card); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; }
.ei-hc > * { margin-block: 0 !important; }
.ei-hc-img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.ei-hc-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.ei-hc-body > * { margin-block: 0 !important; }
.ei-hc-head { gap: 12px; align-items: center; }
.ei-hc-head > * { margin: 0 !important; }
.ei-hc-icon img { width: 40px; height: 40px; border-radius: 9px; display: block; }
.ei-home2 .ei-hc h3 { margin: 0; font-family: var(--wp--preset--font-family--roboto-slab, "Roboto Slab", serif); font-weight: 800; font-size: 28px; line-height: 1.15; color: #fff; }
.ei-home2 .ei-hc-text { font-size: 15px; line-height: 1.55; color: var(--ei-soft); flex: 1; }
.ei-home2 .ei-hc .ei-hp-btn .wp-block-button__link { padding: 12px 20px; font-size: 14px; }

@media (max-width: 781px) {
  .ei-home2 { padding-inline: 10px; }
  .ei-hp { gap: 48px; padding: 48px 0; }
  .ei-home2 .ei-hp-title { font-size: 48px; }
}

/* Newsletter + Kontakt unter den Produkten: nebeneinander auf voller Breite */
.ei-hp-cta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: stretch; padding-top: 64px; }
.ei-hp-cta > * { margin: 0 !important; }
.ei-hp-cta .ei-cta-block, .ei-hp-cta .ei-cb { max-width: none; width: 100%; height: 100%; box-sizing: border-box; display: flex; flex-direction: column; justify-content: center; }
.ei-hp-cta .ei-cta-block { padding: 48px 40px; }
.ei-hp-cta .ei-cb-inner { grid-template-columns: 1fr 1.3fr; gap: 36px; }
@media (max-width: 1100px) {
  .ei-hp-cta { grid-template-columns: minmax(0, 1fr); }
}
