/* Einlasspilot landing page. Only affects elements with ep-* classes. */
:root {
  --ep-ink: #0f172a;
  --ep-night: #070b1a;
  --ep-blue: #3b82f6;
  --ep-violet: #7c3aed;
  --ep-muted: #64748b;
  --ep-line: #e2e8f0;
  --ep-grad: linear-gradient(90deg, #60a5fa 0%, #a78bfa 100%);
}

/* the landing template has no theme header; remove the theme's gaps around the content */
body:has(.ep-page) .wp-site-blocks { padding-top: 0 !important; padding-bottom: 0 !important; }
body:has(.ep-page) .wp-site-blocks > * { margin-block-start: 0 !important; }
.ep-page, .ep-page > * { margin-block-start: 0 !important; margin-block-end: 0 !important; }
.ep-page { font-family: var(--wp--preset--font-family--manrope, "Manrope", system-ui, sans-serif); color: var(--ep-ink); }
.ep-page h1, .ep-page h2, .ep-page h3 { letter-spacing: -0.02em; }

/* --- navigation --------------------------------------------------------------------- */
/* no backdrop blur: behind a 97 % opaque bar it was invisible, but it was redrawn on every scrolled frame */
.ep-nav { position: sticky; top: 0; z-index: 50; background: rgba(7, 11, 26, 0.55) !important;
  border-bottom: 1px solid rgba(148, 163, 184, 0.14); }
.ep-nav .wp-block-image { margin: 0; }
.ep-nav .wp-block-image img { height: 38px; width: auto; }
.ep-nav .ep-navlinks a { color: #cbd5e1; text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.ep-nav .ep-navlinks a:hover { color: #fff; }
.ep-nav .ep-navlinks a + a { margin-left: 1.6rem; }
@media (max-width: 720px) { .ep-nav .ep-navlinks { display: none; } }

/* --- hero ---------------------------------------------------------------------------- */
.ep-hero { position: relative; overflow: hidden; background: var(--ep-night) !important; }
.ep-hero::before, .ep-hero::after { content: ""; position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.55; pointer-events: none; }
.ep-hero::before { width: 520px; height: 520px; background: #2563eb; top: -180px; left: -120px; }
.ep-hero::after { width: 460px; height: 460px; background: #7c3aed; bottom: -200px; right: -80px; }
.ep-hero > * { position: relative; z-index: 1; }
.ep-hero .wp-block-columns { align-items: center !important; }
.ep-badge { display: inline-block; padding: 0.4rem 0.9rem; border-radius: 999px; border: 1px solid rgba(147, 197, 253, 0.35);
  background: rgba(59, 130, 246, 0.12); color: #bfdbfe; font-size: 0.85rem; font-weight: 600; }
/* gradient text: longhand properties only — the "background" shorthand would reset background-clip */
.ep-grad { background-color: transparent !important; background-image: var(--ep-grad) !important;
  -webkit-background-clip: text !important; background-clip: text !important;
  -webkit-text-fill-color: transparent; color: transparent !important; padding: 0; }
.ep-hero-img img { width: 100%; height: auto; max-width: 480px; display: block; margin-inline: auto; }
.ep-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.ep-chips p { margin: 0; }

/* --- buttons ------------------------------------------------------------------------- */
.ep-btn .wp-block-button__link { background: linear-gradient(90deg, #3b82f6, #7c3aed) !important; color: #fff !important;
  border-radius: 14px !important; padding: 0.95rem 1.7rem !important; font-weight: 700; box-shadow: 0 12px 32px -10px rgba(99, 102, 241, 0.75);
  transition: transform .15s ease, box-shadow .15s ease; }
.ep-btn .wp-block-button__link:hover { transform: translateY(-2px); box-shadow: 0 18px 38px -10px rgba(99, 102, 241, 0.9); }
.ep-btn-ghost .wp-block-button__link { background: transparent !important; color: #e2e8f0 !important; border: 1px solid rgba(148, 163, 184, 0.4) !important;
  border-radius: 14px !important; padding: 0.95rem 1.5rem !important; font-weight: 600; }
.ep-btn-small .wp-block-button__link { padding: 0.6rem 1.1rem !important; font-size: 0.9rem; border-radius: 11px !important; }

/* --- section headings ---------------------------------------------------------------- */
.ep-kicker { color: var(--ep-blue) !important; font-weight: 700; font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; }
.ep-lead { color: var(--ep-muted); font-size: 1.15rem; line-height: 1.6; }

/* --- cards --------------------------------------------------------------------------- */
.ep-cards { gap: 1.5rem !important; }
.ep-card { background: #fff; border: 1px solid var(--ep-line); border-radius: 22px; padding: 1.8rem !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 12px 32px -18px rgba(15, 23, 42, 0.25);
  transition: transform .2s ease, box-shadow .2s ease; }
.ep-card:hover { transform: translateY(-4px); box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 24px 44px -20px rgba(37, 99, 235, 0.35); }
.ep-card h3 { margin-top: 1.1rem; margin-bottom: 0.5rem; }
.ep-card p { color: var(--ep-muted); line-height: 1.6; margin: 0; }
.ep-icon { margin: 0 !important; }
.ep-icon img { width: 56px !important; height: 56px !important; padding: 12px; border-radius: 16px;
  background: linear-gradient(135deg, #eff6ff, #f5f3ff); border: 1px solid #dbeafe; }

/* --- steps --------------------------------------------------------------------------- */
.ep-soft { background: #f8fafc !important; }
.ep-step { position: relative; }
.ep-num { display: inline-flex !important; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 16px;
  background: linear-gradient(135deg, #3b82f6, #7c3aed); color: #fff !important; font-weight: 800; font-size: 1.3rem !important;
  box-shadow: 0 10px 24px -10px rgba(99, 102, 241, 0.8); margin: 0 0 0.6rem !important; }
.ep-step p:not(.ep-num) { color: var(--ep-muted); line-height: 1.6; }

/* --- feature list -------------------------------------------------------------------- */
.ep-features ul { list-style: none; padding: 0; margin: 0; }
.ep-features li { position: relative; padding: 0.85rem 0 0.85rem 2rem; border-bottom: 1px solid var(--ep-line); color: #334155; }
.ep-features li::before { content: ""; position: absolute; left: 0; top: 1.05rem; width: 18px; height: 18px; border-radius: 6px;
  background: linear-gradient(135deg, #3b82f6, #7c3aed); }
.ep-features li::after { content: ""; position: absolute; left: 6px; top: 1.22rem; width: 5px; height: 9px; border: solid #fff;
  border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* --- stats band ---------------------------------------------------------------------- */
.ep-stats-band { background: var(--ep-night) !important; position: relative; overflow: hidden; }
.ep-stats-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 220px at 50% 0%, rgba(59, 130, 246, 0.35), transparent 70%); }
.ep-stats-band > * { position: relative; }
.ep-stat .ep-stat-n { font-size: clamp(2.6rem, 6vw, 3.6rem) !important; font-weight: 800; line-height: 1; margin: 0 !important; }
.ep-stat p:not(.ep-stat-n) { color: #94a3b8 !important; margin-top: 0.4rem; }

/* --- FAQ ----------------------------------------------------------------------------- */
.ep-faq details { border: 1px solid var(--ep-line); border-radius: 16px; padding: 1.1rem 1.4rem; margin-top: 0.8rem !important; background: #fff; }
.ep-faq details[open] { border-color: #bfdbfe; box-shadow: 0 10px 30px -20px rgba(37, 99, 235, 0.6); }
.ep-faq summary { font-weight: 700; cursor: pointer; list-style: none; position: relative; padding-right: 2rem; }
.ep-faq summary::-webkit-details-marker { display: none; }
.ep-faq summary::after { content: "+"; position: absolute; right: 0; top: -0.15rem; font-size: 1.5rem; color: var(--ep-blue); transition: transform .2s; }
.ep-faq details[open] summary::after { transform: rotate(45deg); }
.ep-faq details p { color: var(--ep-muted); line-height: 1.6; margin-bottom: 0; }

/* --- final CTA ----------------------------------------------------------------------- */
.ep-cta { border-radius: 30px; background: linear-gradient(120deg, #1d4ed8 0%, #6d28d9 100%) !important; position: relative; overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(79, 70, 229, 0.8); }
.ep-cta::after { content: ""; position: absolute; width: 380px; height: 380px; right: -120px; top: -160px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.12); }
.ep-cta > * { position: relative; z-index: 1; }
.ep-cta .ep-btn .wp-block-button__link { background: #fff !important; color: #1e1b4b !important; box-shadow: none; }

/* --- legal pages (Impressum, Datenschutz) -------------------------------------------- */
.ep-legal h2 { font-size: 1.3rem !important; font-weight: 700; margin-top: 2.4rem !important; }
.ep-legal p { color: #334155; line-height: 1.7; }
.ep-legal a { color: #2563eb; }

/* --- footer -------------------------------------------------------------------------- */
.ep-footer { background: var(--ep-night) !important; border-top: 1px solid rgba(148, 163, 184, 0.14); }
.ep-footer a { color: #94a3b8; text-decoration: none; }
.ep-footer a:hover { color: #fff; }
.ep-foot { display: grid; grid-template-columns: minmax(260px, 1.1fr) 2fr; gap: 3rem; max-width: 1200px; margin: 0 auto; }
.ep-foot p { margin: 0; }
.ep-foot-logo img { height: 32px; width: auto; display: block; }
.ep-foot-sub { font-size: 0.9rem; line-height: 1.55; margin-top: 0.9rem !important; max-width: 30ch; }
.ep-foot-nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
.ep-foot-nav div { display: flex; flex-direction: column; gap: 0.6rem; min-width: 0; }
.ep-foot-nav a { font-size: 0.93rem; width: fit-content; max-width: 100%; overflow-wrap: anywhere; transition: color .2s, transform .2s; }
.ep-foot-nav a:hover { transform: translateX(3px); }
.ep-foot-h { color: #e2e8f0; font-weight: 700; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 0.3rem !important; }
/* left-aligned: the chat button sits bottom right */
.ep-foot-bottom { display: flex; justify-content: flex-start; align-items: center; gap: 1rem; flex-wrap: wrap; max-width: 1200px;
  margin: 2.8rem auto 0; padding-top: 1.3rem; border-top: 1px solid rgba(148, 163, 184, 0.12); font-size: 0.85rem; }
.ep-foot-bottom p { margin: 0; }
.ep-totop { font: inherit; font-size: 0.85rem; color: #cbd5e1; background: rgba(148, 163, 184, 0.08); border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 999px; padding: 0.45rem 1rem; cursor: pointer; transition: background .2s, color .2s; }
.ep-totop:hover { background: rgba(99, 102, 241, 0.2); color: #fff; }
.ep-totop span { display: inline-block; transition: transform .25s; }
.ep-totop:hover span { transform: translateY(-3px); }
/* changing motto (ep.js): without JS only the first saying shows */
.ep-motto { margin-top: 1.4rem !important; min-height: 3.4em; font-size: 1.25rem; font-weight: 800; line-height: 1.35; letter-spacing: -0.01em; color: #fff; }
.ep-motto:not(.ep-live) > span + span { display: none; }
.ep-motto .ep-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ep-motto .ep-mw { display: inline-block; white-space: nowrap; }
.ep-motto .ep-mc { display: inline-block; opacity: 0; transform: translateY(0.55em) rotate(6deg); filter: blur(4px);
  animation: ep-mc-in .5s cubic-bezier(.2, .8, .2, 1) forwards; animation-delay: calc(var(--i) * 22ms);
  color: #93c5fd; color: color-mix(in oklab, #60a5fa, #c4b5fd var(--p, 50%)); }   /* blue to violet along the line */
.ep-motto.ep-out .ep-mc { animation: ep-mc-out .35s ease-in forwards; animation-delay: calc(var(--i) * 10ms); }
@keyframes ep-mc-in { to { opacity: 1; transform: none; filter: none; } }
@keyframes ep-mc-out { from { opacity: 1; transform: none; filter: blur(0); } to { opacity: 0; transform: translateY(-0.5em); filter: blur(3px); } }
.ep-motto .ep-motto-bar { display: block; height: 2px; width: 3.2rem; margin-top: 0.7rem; border-radius: 2px; background: rgba(148, 163, 184, 0.18); overflow: hidden; }
.ep-motto-bar::after { content: ""; display: block; height: 100%; width: 100%; background: var(--ep-grad); transform-origin: left; transform: scaleX(0); }
.ep-motto.ep-run .ep-motto-bar::after { animation: ep-motto-bar var(--ep-motto-ms, 5000ms) linear forwards; }
@keyframes ep-motto-bar { to { transform: scaleX(1); } }
@media (max-width: 900px) {
  .ep-foot { grid-template-columns: 1fr; gap: 2.4rem; }
  .ep-foot-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1.5rem; }
}

@media (max-width: 781px) {
  .ep-hero-img img { max-width: 360px; margin-top: 1rem; }
  .ep-card { padding: 1.5rem !important; }
}

/* Kunden-Login in the nav (links to the portal app.einlasspilot.de) */
.ep-nav .wp-block-buttons { gap: 0.6rem; flex-wrap: nowrap; }
.ep-login .wp-block-button__link { white-space: nowrap; }
.ep-login .wp-block-button__link:hover { border-color: rgba(226, 232, 240, 0.8) !important; color: #fff !important; }
@media (max-width: 480px) {
  .ep-nav .ep-btn-small .wp-block-button__link { padding: 0.5rem 0.75rem !important; font-size: 0.82rem; }
}

/* ===================================================================================== */
/* Sub pages (Vorteile, Ablauf, Funktionen, FAQ, Demo, Kontakt)                          */
/* ===================================================================================== */

/* navigation: active page, menu button for smaller screens (button added by ep.js) */
.ep-nav .ep-navlinks a.ep-current { color: #fff; }
.ep-nav .ep-navlinks a.ep-current::after { content: ""; display: block; height: 2px; margin-top: 4px; border-radius: 2px; background: var(--ep-grad); }
.ep-nav .ep-navlinks a + a { margin-left: 1.3rem; }
.ep-nav .ep-navlinks a { display: inline-block; }
.ep-menu-btn { display: none; width: 44px; height: 44px; margin-left: 0.2rem; padding: 0; border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 12px; background: transparent; color: #e2e8f0; cursor: pointer; align-items: center; justify-content: center; flex: none; }
.ep-menu-btn svg { width: 22px; height: 22px; }
.ep-menu-btn .ep-x, .ep-menu-btn[aria-expanded="true"] .ep-burger { display: none; }
.ep-menu-btn[aria-expanded="true"] .ep-x { display: block; }
.ep-nav .ep-navlinks a.ep-menu-login { display: none; }
@media (max-width: 1180px) {  /* 7 menu items since the price page */
  .ep-js .ep-menu-btn { display: inline-flex; }
  .ep-nav .ep-navlinks { display: none; }
  .ep-js .ep-nav > .wp-block-group { margin-left: auto; }
  .ep-js .ep-nav.ep-open .ep-navlinks { display: flex; flex-direction: column; position: absolute; left: 0; right: 0; top: 100%; margin: 0;
    padding: 0.4rem clamp(1.2rem, 4vw, 3rem) 1.2rem; background: rgba(7, 11, 26, 0.98); border-bottom: 1px solid rgba(148, 163, 184, 0.14);
    box-shadow: 0 30px 50px -20px rgba(0, 0, 0, 0.6); }
  .ep-js .ep-nav.ep-open .ep-navlinks a { margin: 0; padding: 0.9rem 0; font-size: 1.05rem; border-bottom: 1px solid rgba(148, 163, 184, 0.12); }
  .ep-js .ep-nav.ep-open .ep-navlinks a.ep-current::after { display: none; }
  .ep-js .ep-nav.ep-open .ep-navlinks a.ep-menu-login { display: block; border-bottom: 0; color: #93c5fd; }
}
@media (max-width: 560px) { .ep-js .ep-nav .ep-login { display: none; } }

/* compact dark hero for sub pages */
.ep-subhero h1 { margin-top: 1.2rem !important; font-size: clamp(2.4rem, 4.8vw, 3.6rem); font-weight: 800; line-height: 1.06; }
/* constrained layout centres narrower children: keep the full content width and shorten the lines with padding */
.ep-subhero .ep-lead { color: #cbd5e1; box-sizing: border-box; padding-right: max(0px, calc(min(100%, 1100px) - 46rem)); /* % = hero width, the lead itself is at most 1100px */ font-size: 1.2rem; }
.ep-page .ep-lead { margin-top: 1rem; }
.ep-page h2.wp-block-heading { font-weight: 800; }
.ep-crumbs { font-size: 0.9rem; color: #94a3b8; margin: 0 0 0.6rem; }
/* the badge is inline-block, so the constrained layout's auto margins do not move it to the content edge like the
   heading below: give it the same left edge (content width 1100px, see build.py hero()) */
.ep-subhero > .ep-badge { display: block; width: fit-content; margin-left: max(0px, calc((100% - 1100px) / 2)) !important; margin-right: 0 !important; }
.ep-crumbs a { color: #93c5fd; text-decoration: none; }

/* text + screenshot rows */
.ep-split { align-items: center !important; gap: clamp(2rem, 5vw, 4.5rem) !important; }
.ep-split + .ep-split { margin-top: clamp(4rem, 9vw, 7rem) !important; }
@media (min-width: 782px) { .ep-split.ep-rev { flex-direction: row-reverse; } }
.ep-split h2 { font-size: clamp(1.6rem, 3vw, 2.2rem) !important; font-weight: 800; line-height: 1.15; margin-top: 0.3rem; }
.ep-split p { color: var(--ep-muted); line-height: 1.7; }

/* screenshot frames */
.ep-browser { position: relative; margin: 0 !important; padding-top: 34px; border-radius: 16px; overflow: hidden; background: #e2e8f0;
  border: 1px solid #cbd5e1; box-shadow: 0 30px 60px -30px rgba(15, 23, 42, 0.45); }
.ep-browser::before { content: ""; position: absolute; left: 14px; top: 12px; width: 52px; height: 11px;
  background: radial-gradient(circle at 5.5px 5.5px, #f87171 5px, transparent 5.5px), radial-gradient(circle at 25.5px 5.5px, #fbbf24 5px, transparent 5.5px),
              radial-gradient(circle at 45.5px 5.5px, #34d399 5px, transparent 5.5px); }
.ep-browser img { display: block; width: 100%; height: auto; }
.ep-phoneshot { margin: 0 auto !important; max-width: 290px; padding: 10px; border-radius: 40px; background: linear-gradient(145deg, #1e293b, #0b1020);
  box-shadow: 0 0 0 2px #334155, 0 40px 70px -30px rgba(15, 23, 42, 0.7); }
.ep-phoneshot img { display: block; width: 100%; height: auto; border-radius: 31px; }
.ep-shotpair { display: flex; gap: 1.2rem; justify-content: center; align-items: flex-start; }
.ep-shotpair .ep-phoneshot { max-width: 240px; margin: 0 !important; flex: 1 1 0; }
.ep-shotpair .ep-phoneshot:nth-child(2) { margin-top: 3rem !important; }
.ep-caption { font-size: 0.88rem; color: var(--ep-muted); text-align: center; margin-top: 0.9rem !important; }

/* check list */
.ep-checks { list-style: none; padding: 0; margin: 1.2rem 0 0; }
.ep-checks li { position: relative; padding: 0.4rem 0 0.4rem 1.9rem; color: #334155; line-height: 1.55; }
.ep-checks li::before { content: ""; position: absolute; left: 0; top: 0.62rem; width: 18px; height: 18px; border-radius: 6px;
  background: linear-gradient(135deg, #3b82f6, #7c3aed); }
.ep-checks li::after { content: ""; position: absolute; left: 6px; top: 0.8rem; width: 5px; height: 9px; border: solid #fff;
  border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* info box */
.ep-note { border-radius: 18px; padding: 1.2rem 1.4rem; background: #eff6ff; border: 1px solid #bfdbfe; color: #1e3a8a; margin-top: 1.4rem; }
.ep-note p { color: #1e3a8a !important; margin: 0; }

/* "Mehr erfahren" links on the home page */
.ep-more { font-weight: 700; }
.ep-more a { color: var(--ep-blue); text-decoration: none; }
.ep-more a::after { content: " →"; }
.ep-stats-band .ep-more a, .ep-hero .ep-more a { color: #93c5fd; }

/* feature group cards on "Funktionen" */
.ep-fgroup { background: #fff; border: 1px solid var(--ep-line); border-radius: 22px; padding: 1.8rem; }
.ep-fgroup h3 { font-size: 1.25rem; font-weight: 800; margin: 0.9rem 0 0.2rem; }
.ep-fgroup .ep-checks li { font-size: 0.97rem; }
.ep-fgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; margin-top: 3rem; }
/* Ratgeber: article cards on /ratgeber/ and the article text */
@media (min-width: 782px) { .ep-fgrid.ep-rgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 0; } }
.ep-fgroup h3 a { color: inherit; text-decoration: none; }
.ep-fgroup h3 a:hover { color: var(--ep-blue); }
.ep-fgroup > p:not(.ep-more) { color: var(--ep-muted); line-height: 1.6; }
.ep-article .ep-checks + p, .ep-article .ep-note + h2 { margin-top: 1.4rem; }

/* FAQ page: group headings */
.ep-faq h2.ep-faq-group { font-size: 1.35rem !important; font-weight: 800; margin-top: 3rem !important; margin-bottom: 0.4rem !important; }

/* ---- contact form ------------------------------------------------------------------- */
.ep-form { display: grid; gap: 1rem; position: relative; }
.ep-form .ep-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 640px) { .ep-form .ep-row { grid-template-columns: 1fr; } }
.ep-form label { display: block; font-weight: 700; font-size: 0.92rem; margin-bottom: 0.35rem; color: var(--ep-ink); }
.ep-form label small { font-weight: 500; color: var(--ep-muted); }
.ep-form input, .ep-form select, .ep-form textarea { width: 100%; box-sizing: border-box; font: inherit; font-size: 1rem; color: var(--ep-ink);
  padding: 0.8rem 1rem; border-radius: 12px; border: 1px solid #cbd5e1; background: #fff; }
.ep-form textarea { min-height: 150px; resize: vertical; }
.ep-form input:focus, .ep-form select:focus, .ep-form textarea:focus { outline: none; border-color: var(--ep-blue); box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.18); }
.ep-form .ep-consent { display: flex; gap: 0.7rem; align-items: flex-start; font-weight: 500; color: #475569; font-size: 0.92rem; line-height: 1.5; }
.ep-form .ep-consent input { width: 20px; height: 20px; margin-top: 2px; flex: none; }
.ep-form .ep-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ep-form button { justify-self: start; border: 0; cursor: pointer; font: inherit; font-weight: 700; font-size: 1rem; color: #fff; padding: 0.95rem 1.8rem;
  border-radius: 14px; background: linear-gradient(90deg, #3b82f6, #7c3aed); box-shadow: 0 12px 32px -10px rgba(99, 102, 241, 0.75); }
.ep-form button:hover { filter: brightness(1.08); }
.ep-form-msg { border-radius: 14px; padding: 1rem 1.2rem; font-weight: 600; margin-bottom: 1rem; }
.ep-form-msg.ok { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.ep-form-msg.err { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.ep-contact-card { background: #fff; border: 1px solid var(--ep-line); border-radius: 22px; padding: clamp(1.5rem, 4vw, 2.4rem) !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 12px 32px -18px rgba(15, 23, 42, 0.25); }
.ep-contact-cols { gap: clamp(2rem, 5vw, 4rem) !important; }
.ep-split .ep-kicker .ep-num { width: 40px; height: 40px; font-size: 1.05rem !important; margin: 0 0.6rem 0 0 !important; vertical-align: middle; }
.ep-contact-side h3 { font-size: 1.15rem; font-weight: 800; margin: 1.6rem 0 0.3rem; }
.ep-contact-side h3:first-child { margin-top: 0; }
.ep-contact-side p { color: var(--ep-muted); line-height: 1.6; margin: 0; font-size: 1rem; }
.ep-contact-side a { color: var(--ep-blue); }

/* --- buttons: the pointer becomes a rocket in a golden ring (ep.js part 8) ---------------- */
html.ep-cur-mouse :is(.wp-block-button__link, button, input[type="submit"], input[type="button"], [role="button"], .ep-try-ticket),
html.ep-cur-mouse :is(.wp-block-button__link, button, [role="button"], .ep-try-ticket) * { cursor: none !important; }
.ep-cur-ring, .ep-cur-rocket { position: fixed; left: 0; top: 0; z-index: 2147483000; pointer-events: none; will-change: transform; }
.ep-cur-ring-in { position: absolute; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%;
  border: 1.5px solid rgba(251, 191, 36, .85); background: rgba(251, 191, 36, .12); box-shadow: 0 0 24px rgba(251, 191, 36, .3);
  opacity: 0; transform: scale(.4); transition: opacity .2s, transform .3s cubic-bezier(.2, .9, .3, 1.3); }
html.ep-cur-btn .ep-cur-ring-in { opacity: 1; transform: scale(1); }
html.ep-cur-btn.ep-cur-down .ep-cur-ring-in { transform: scale(.75); transition-duration: .1s; }
/* rocket centred on the mouse position, nose to the top left like a normal pointer */
.ep-cur-rocket-in { position: absolute; width: 13px; height: 26px; margin: -13px 0 0 -6.5px; opacity: 0;
  transform: rotate(-45deg) scale(.5); transition: opacity .15s, transform .25s cubic-bezier(.2, .9, .3, 1.4); }
.ep-cur-rocket-in .ep-rocket-svg { width: 100%; height: 100%; display: block; filter: drop-shadow(0 0 4px rgba(251, 191, 36, .6)); }
html.ep-cur-btn .ep-cur-rocket-in { opacity: 1; transform: rotate(-45deg) scale(1); animation: ep-cur-thrust .45s ease-in-out infinite alternate .25s; }
@keyframes ep-cur-thrust { from { transform: rotate(-45deg) translateY(0); } to { transform: rotate(-45deg) translateY(-1.5px); } }

/* chat bubble (Chatwoot): normal pointer there, the rocket cursor is not used on it */
html.ep-cur-mouse :is(.woot--bubble-holder, .woot-widget-bubble, .woot-widget-bubble *, [class*="woot-"] button, [class*="woot-"] button *) { cursor: pointer !important; }
.ep-cur-ring, .ep-cur-rocket { z-index: 2147483647; }

/* no white ring after clicking a button with the mouse; keyboard users still get a clear focus ring */
:is(.wp-block-button__link, .wp-element-button, button, [role="button"], a, summary):focus:not(:focus-visible) { outline: none !important; }
:is(.wp-block-button__link, .wp-element-button, button, [role="button"]):focus-visible { outline: 2px solid #a5b4fc !important; outline-offset: 3px; }
.ep-faq summary:focus-visible { outline: 2px solid #a5b4fc !important; outline-offset: 6px; border-radius: 8px; }

/* --- price page (/preise/) ----------------------------------------------------------------------------------------- */
.ep-prices { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.1rem; margin-top: 2.2rem; }
.ep-prices-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 900px; margin-inline: auto; }
.ep-price { position: relative; background: #fff; border: 1px solid var(--ep-line); border-radius: 22px; padding: 1.6rem 1.4rem;
  text-align: center; transition: transform .2s ease, box-shadow .2s ease; }
.ep-price:hover { transform: translateY(-4px); box-shadow: 0 24px 44px -22px rgba(37, 99, 235, 0.35); }
.ep-price p { margin: 0; }
.ep-price-name { font-weight: 800; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ep-violet); }
.ep-price-limit { margin-top: 0.35rem !important; font-weight: 700; color: var(--ep-ink); }
.ep-price-amount, .ep-plan-amount { margin-top: 1rem !important; color: var(--ep-muted); font-size: 0.95rem; }
.ep-price-amount span, .ep-plan-amount span { display: block; font-size: 2.6rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1;
  background: var(--ep-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ep-price-vat { margin-top: 0.4rem !important; font-size: 0.8rem; color: #94a3b8; }
.ep-price-top { border-color: transparent; background: linear-gradient(#fff, #fff) padding-box, var(--ep-grad) border-box; border: 2px solid transparent; }
.ep-included { list-style: none; padding: 0; margin: 2.2rem auto 0; max-width: 900px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem 2rem; color: #334155; }
.ep-included li { position: relative; padding-left: 1.8rem; }
.ep-included li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--ep-blue); font-weight: 800; }
.ep-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.3rem; margin-top: 2.4rem; align-items: stretch; }
.ep-plan { position: relative; background: #fff; border: 1px solid var(--ep-line); border-radius: 24px; padding: 2rem 1.7rem; }
.ep-plan p { margin: 0; }
.ep-plan-name { font-size: 1.35rem; font-weight: 800; letter-spacing: -0.02em; color: var(--ep-ink); }
.ep-plan-tag { margin-top: 0.4rem !important; color: var(--ep-muted); font-size: 0.95rem; min-height: 2.8em; }
.ep-plan ul { list-style: none; padding: 1.2rem 0 0; margin: 1.2rem 0 0; border-top: 1px solid var(--ep-line); display: grid; gap: 0.7rem; color: #334155; font-size: 0.95rem; }
.ep-plan li { position: relative; padding-left: 1.7rem; line-height: 1.45; }
.ep-plan li::before { content: ""; position: absolute; left: 0; top: 0.2rem; width: 16px; height: 16px; border-radius: 5px; background: var(--ep-grad); }
.ep-plan li::after { content: ""; position: absolute; left: 5px; top: 0.36rem; width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.ep-plan-badge { position: absolute; top: -12px; right: 18px; padding: 0.25rem 0.75rem; border-radius: 999px; background: var(--ep-grad); color: #fff;
  font-size: 0.75rem; font-weight: 800; letter-spacing: 0.04em; }
.ep-plan-first { background: var(--ep-night); border-color: transparent; color: #cbd5e1; box-shadow: 0 30px 60px -30px rgba(79, 70, 229, 0.8); }
.ep-plan-first .ep-plan-name { color: #fff; }
.ep-plan-first .ep-plan-tag, .ep-plan-first .ep-plan-amount { color: #94a3b8; }
.ep-plan-first ul { color: #e2e8f0; border-color: rgba(148, 163, 184, 0.2); }
.ep-plan-business { border: 2px solid transparent; background: linear-gradient(#fff, #fff) padding-box, var(--ep-grad) border-box; }
@media (max-width: 980px) { .ep-prices:not(.ep-prices-3) { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ep-prices-3 { grid-template-columns: 1fr; max-width: 420px; } .ep-plans { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }
@media (max-width: 560px) { .ep-prices, .ep-included { grid-template-columns: 1fr; } .ep-plan-tag { min-height: 0; } }
