.hpe, .hpe * { box-sizing: border-box; }
  .hpe {
    --hpe-text: #111111;
    --hpe-soft: #444444;
    --hpe-bg: #ffffff;
    --hpe-grey: #f4f4f4;
    --hpe-red: #d71920;
    --hpe-green-1: #46c24b;
    --hpe-green-2: #2b9a35;
    --hpe-green-dark: #1f7a28;
    --hpe-yellow: #fff35c;
    --hpe-gold: #d4af37;
    font-family: "Montserrat", Arial, Helvetica, sans-serif;
    color: var(--hpe-text);
    background: var(--hpe-bg);
    line-height: 1.55;
    font-size: 18px;
    -webkit-font-smoothing: antialiased;
  }
  .hpe-wrap { max-width: 1060px; margin: 0 auto; padding: 0 20px; }
  .hpe-narrow { max-width: 780px; margin: 0 auto; padding: 0 20px; }
  .hpe-section { padding: 56px 0; }
  .hpe-grey { background: var(--hpe-grey); }
  .hpe h1, .hpe h2, .hpe h3 { margin: 0 0 16px; line-height: 1.15; font-weight: 900; }
  .hpe h2 { font-size: 34px; text-align: center; }
  .hpe h3 { font-size: 22px; }
  .hpe p { margin: 0 0 16px; }
  .hpe-center { text-align: center; }
  .hpe mark { background: linear-gradient(transparent 8%, var(--hpe-yellow) 8%, var(--hpe-yellow) 92%, transparent 92%); color: inherit; padding: 0 4px; }
  .hpe .offen { background: #ffe14d; color: #7a0000; font-weight: 700; padding: 2px 6px; border: 1px dashed #c00; border-radius: 4px; }

  /* Button */
  .hpe-btn {
    display: block; width: 100%; max-width: 560px; margin: 18px auto 8px; text-align: center; text-decoration: none; cursor: pointer;
    background: linear-gradient(#52cf57, var(--hpe-green-2)); color: #fff; font-family: inherit; font-weight: 900;
    font-size: 18px; line-height: 1.2; padding: 15px 22px; border: 0; border-bottom: 5px solid var(--hpe-green-dark);
    border-radius: 10px; text-transform: uppercase; letter-spacing: .2px; box-shadow: 0 8px 18px rgba(43,154,53,.35);
    transition: transform .12s ease, box-shadow .12s ease;
  }
  .hpe-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 22px rgba(43,154,53,.45); }
  .hpe-btn small { display: block; font-size: 13px; font-weight: 600; text-transform: none; opacity: .95; margin-top: 4px; }
  .hpe-micro { text-align: center; font-size: 14px; color: var(--hpe-soft); margin: 0; }

  /* Hero */
  .hpe-topbar { background: #111; color: #fff; text-align: center; font-size: 14px; font-weight: 700; letter-spacing: .6px; padding: 10px 14px; text-transform: uppercase; border-bottom: 3px solid var(--hpe-gold); }
  .hpe-hero { padding: 44px 0 56px; }
  .hpe-pre { color: var(--hpe-red); font-weight: 800; text-transform: uppercase; letter-spacing: .6px; font-size: 15px; text-align: center; margin-bottom: 10px; }
  .hpe-name { text-align: center; font-weight: 700; font-size: 16px; color: var(--hpe-soft); margin-bottom: 18px; }
  .hpe-hero h1 { font-size: 50px; text-align: center; max-width: 920px; margin: 0 auto 18px; }
  .hpe-sub { text-align: center; font-size: 21px; color: var(--hpe-soft); max-width: 760px; margin: 0 auto 28px; }
  .hpe-date { text-align: center; font-weight: 800; font-size: 20px; margin-bottom: 14px; }
  .hpe-count { display: flex; gap: 12px; justify-content: center; margin: 0 auto 30px; }
  .hpe-count div { background: #111; color: #fff; border-radius: 10px; padding: 12px 10px; min-width: 78px; text-align: center; }
  .hpe-count b { display: block; font-size: 32px; font-weight: 900; line-height: 1; }
  .hpe-count span { font-size: 12px; text-transform: uppercase; letter-spacing: .5px; opacity: .85; }
  .hpe-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: start; }
  .hpe-box { background: #fff; border: 2px solid #111; border-radius: 14px; padding: 26px; }
  .hpe-box h3 { text-align: center; }

  /* Bekannt aus: Logo-Laufband direkt unter der Hero */
  .hpe-bekannt { background: #fff; padding: 20px 0 24px; }
  .hpe-bekannt-titel { text-align: center; font-size: 12px; font-weight: 800; letter-spacing: 3px; text-transform: uppercase; color: #6b6b6b; margin-bottom: 16px; }
  .hpe-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%); mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%); }
  .hpe-marquee-spur { display: flex; width: max-content; animation: hpe-lauf 42s linear infinite; }
  .hpe-marquee:hover .hpe-marquee-spur { animation-play-state: paused; }
  .hpe-marquee-gruppe { display: flex; align-items: center; gap: 64px; padding-right: 64px; }
  .hpe-marquee-gruppe img { height: 48px; width: auto; max-width: none; flex: 0 0 auto; }
  .hpe-marquee-gruppe img.hpe-logo-quadrat { height: 64px; border-radius: 8px; }
  @keyframes hpe-lauf { from { transform: translateX(0); } to { transform: translateX(-50%); } }
  @media (prefers-reduced-motion: reduce) {
    .hpe-marquee-spur { animation: none; width: auto; flex-wrap: wrap; justify-content: center; }
    .hpe-marquee-gruppe { flex-wrap: wrap; justify-content: center; padding-right: 0; gap: 28px 40px; }
    .hpe-marquee-gruppe[aria-hidden="true"] { display: none; }
    .hpe-marquee { -webkit-mask-image: none; mask-image: none; padding: 0 16px; }
  }
  @media (max-width: 860px) { .hpe-marquee-gruppe { gap: 44px; padding-right: 44px; } .hpe-marquee-gruppe img { height: 38px; } .hpe-marquee-gruppe img.hpe-logo-quadrat { height: 52px; } }
  .hpe-ergebnisse { display: block; width: min(1320px, calc(100vw - 40px)); margin: 22px 0 0; position: relative; left: 50%; transform: translateX(-50%); }
  .hpe-ergebnisse img { display: block; width: 100%; height: auto; border-radius: 12px; box-shadow: 0 8px 26px rgba(0,0,0,.14); }

  /* Letzte Sektion: Foto als Hintergrundbild links, weicher Verlauf ins Hellgrau, Anmeldung rechts */
  .hpe-final { position: relative; overflow: hidden; padding: 70px 0;
    background: linear-gradient(to right, rgba(244,244,244,0) 0%, rgba(244,244,244,0) 22%, rgba(244,244,244,.35) 34%, rgba(244,244,244,.7) 44%, rgba(244,244,244,.92) 54%, #f4f4f4 62%),
      url('bilder/hero-michael-neu.jpg') left top / auto 100% no-repeat #f4f4f4; }
  .hpe-final .hpe-narrow { max-width: none; margin: 0 0 0 50%; padding: 0 6% 0 20px; }
  .hpe-final .hpe-narrow > * { max-width: 540px; margin-left: auto; margin-right: auto; }
  @media (max-width: 860px) {
    .hpe-final { padding: 300px 0 40px;
      background: linear-gradient(to bottom, rgba(244,244,244,0) 0, rgba(244,244,244,0) 12%, rgba(244,244,244,.7) 24%, #f4f4f4 34%),
        url('bilder/hero-michael-neu.jpg') 6% top / auto 360px no-repeat #f4f4f4; }
    .hpe-final .hpe-narrow { margin-left: 0; padding: 0 20px; }
  }
  .hpe-cta-ende { margin-top: 34px; }

  /* Mobil gekürzt: Der Weg nur am Desktop, zweite Für-wen-Liste aufklappbar, Ergebnisse-Bild wischbar */
  .hpe-wisch { display: none; }
  .hpe-falt-kopf { cursor: default; }
  @media (max-width: 860px) {
    .hpe-nur-desktop { display: none; }
    .hpe-faltbar .hpe-falt-kopf { cursor: pointer; margin-bottom: 0; position: relative; padding-right: 28px; }
    .hpe-faltbar .hpe-falt-kopf::after { content: "+"; position: absolute; right: 0; top: 0; font-size: 26px; line-height: 1; }
    .hpe-faltbar.is-open .hpe-falt-kopf::after { content: "–"; }
    .hpe-faltbar .hpe-ticks { display: none; margin-top: 16px; }
    .hpe-faltbar.is-open .hpe-ticks { display: block; }
    .hpe-wisch { display: block; text-align: center; font-size: 14px; font-weight: 700; color: #555; margin: 8px 0 0; }
    .hpe-ergebnisse { width: calc(100vw - 20px); left: 50%; overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 12px; }
    .hpe-ergebnisse img { width: 1100px; max-width: none; height: auto; }
  }
  .hpe-video { margin-top: 30px; }
  .hpe-video h3 { text-align: center; margin: 0 0 14px; }
  .hpe-video video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #000; border-radius: 12px; box-shadow: 0 8px 26px rgba(0,0,0,.18); }
  .hpe-box.hpe-box-frei { background: transparent; border: 0; border-radius: 0; padding: 0; }
  .hpe-ticks { list-style: none; margin: 0; padding: 0; }
  .hpe-ticks li { position: relative; padding: 0 0 14px 38px; }
  .hpe-ticks li::before { content: "✓"; position: absolute; left: 0; top: -2px; width: 26px; height: 26px; border-radius: 50%; background: var(--hpe-green-2); color: #fff; font-weight: 900; text-align: center; line-height: 26px; font-size: 16px; }
  .hpe-cross li::before { content: "✕"; background: var(--hpe-red); }
  .hpe-form input { width: 100%; font-family: inherit; font-size: 18px; padding: 15px 16px; margin: 0 0 12px; border: 2px solid #c9c9c9; border-radius: 8px; }
  .hpe-formnote { background: #fff8c9; border: 1px dashed #b38f00; padding: 8px 10px; font-size: 13px; margin-bottom: 12px; border-radius: 6px; }

  /* Umsatzkiller-Band */
  .hpe-dark { background: #111; color: #fff; }
  .hpe-dark.hpe-dark-bg { background: linear-gradient(rgba(0,0,0,.6), rgba(0,0,0,.6)), url('bilder/sektion2-hintergrund.jpg?v=1') center / cover no-repeat #111; border-top: 3px solid var(--hpe-gold); border-bottom: 3px solid var(--hpe-gold); }
  .hpe-dark p { font-size: 19px; }
  .hpe-dark mark { color: #111; }
  .hpe-dark .hpe-card { color: #111; }
  .hpe-dark .hpe-box { color: #111; }
  .hpe-dark .hpe-box p { font-size: inherit; }
  .hpe-dark .hpe-card p { font-size: 16px; }
  .hpe-kicker { color: var(--hpe-yellow); font-weight: 900; text-transform: uppercase; letter-spacing: .8px; font-size: 18px; text-align: center; margin-bottom: 10px; }
  .hpe-box-light { background: #fff; color: #111; margin: 26px 0 8px; }

  /* Karten */
  .hpe-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
  .hpe-cards-4 { grid-template-columns: repeat(4, 1fr); }
  .hpe-card { background: #fff; border: 2px solid #111; border-radius: 14px; padding: 24px 20px; }
  .hpe-num { display: inline-block; width: 42px; height: 42px; line-height: 42px; border-radius: 50%; background: #111; color: #fff; font-weight: 900; text-align: center; margin-bottom: 12px; font-size: 20px; }
  .hpe-card h3 { font-size: 18px; }
  .hpe-card p { font-size: 16px; margin: 0; color: var(--hpe-soft); }

  /* Stimmen */
  .hpe-quote { background: #fff; border-left: 8px solid var(--hpe-green-2); border-radius: 8px; padding: 22px 24px; margin: 0 0 18px; box-shadow: 0 2px 10px rgba(0,0,0,.06); }
  .hpe-quote p { font-size: 20px; font-weight: 700; margin: 0 0 8px; }
  .hpe-quote cite { font-size: 15px; font-style: normal; color: var(--hpe-soft); }
  .hpe-photo { background: #ddd; border-radius: 14px; aspect-ratio: 4 / 5; display: flex; align-items: center; justify-content: center; text-align: center; padding: 16px; color: #555; font-weight: 700; }
  .hpe-about-img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 14px; }
  .hpe-about-unten { margin-top: 28px; }
  .hpe-about-unten .hpe-stats { justify-content: center; margin: 24px 0; }
  .hpe-about { display: grid; grid-template-columns: .8fr 1.2fr; gap: 36px; align-items: start; }
  .hpe-stats { display: flex; flex-wrap: nowrap; gap: 28px; margin: 18px 0; }
  .hpe-stats b { display: block; font-size: clamp(26px, 3.2vw, 38px); white-space: nowrap; font-weight: 900; line-height: 1; color: var(--hpe-green-2); }
  .hpe-stats span { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; }

  /* Für wen */
  .hpe-two { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px; }
  .hpe-two .hpe-box h3 { margin-bottom: 18px; }

  /* FAQ */
  .hpe-faq details { background: #fff; border: 2px solid #111; border-radius: 10px; margin-bottom: 12px; padding: 0; }
  .hpe-faq summary { cursor: pointer; font-weight: 800; padding: 16px 20px; list-style: none; position: relative; padding-right: 48px; }
  .hpe-faq summary::-webkit-details-marker { display: none; }
  .hpe-faq summary::after { content: "+"; position: absolute; right: 20px; top: 10px; font-size: 28px; font-weight: 900; color: var(--hpe-green-2); }
  .hpe-faq details[open] summary::after { content: "–"; }
  .hpe-faq .hpe-answer { padding: 0 20px 16px; font-size: 17px; color: var(--hpe-soft); }

  .hpe-ps { background: #fff; border: 2px dashed #111; border-radius: 12px; padding: 20px 24px; margin-top: 30px; font-size: 17px; }
  .hpe-foot { text-align: center; font-size: 13px; color: #777; padding: 24px 20px 40px; }


  /* Fußzeile schwarz */
  .hpe-footer { background: #111; color: #fff; text-align: center; padding: 38px 20px 42px; }
  .hpe-footer-links { margin-bottom: 18px; font-weight: 700; font-size: 15px; }
  .hpe-footer-links a { color: #fff; text-decoration: none; padding: 0 4px; }
  .hpe-footer-links a:hover { text-decoration: underline; }
  .hpe-footer-links span { color: #777; padding: 0 8px; }
  .hpe .hpe-footer-disc { max-width: 760px; margin: 0 auto 14px; text-align: center; font-size: 12px; line-height: 1.55; color: #9a9a9a; }
  .hpe .hpe-footer-copy { margin: 0; text-align: center; font-size: 12px; color: #9a9a9a; }


  /* Hero wie in der Vorlage: Text links, Foto rechts bündig, nur der linke Rand läuft aus */
  .hpe-hero2 { position: relative; overflow: hidden; background: #f4f4f4; }
  .hpe-hero-cols { display: block; padding-top: 34px; padding-bottom: 38px; }
  .hpe-hero-text { max-width: min(560px, 52vw); }
  .hpe-hero-text .hpe-name { text-align: left; color: var(--hpe-red); font-size: 30px; font-weight: 900; text-transform: uppercase; letter-spacing: .4px; line-height: 1.1; margin: 0 0 12px; }
  .hpe-hero-text h1 { text-align: left; font-size: 36px; margin: 0 0 16px; }
  .hpe-hero-text .hpe-date { text-align: left; font-size: 16px; margin-bottom: 10px; }
  .hpe-hero-text .hpe-count { justify-content: flex-start; margin: 0 0 16px; gap: 10px; }
  .hpe-hero-text .hpe-count div { min-width: 60px; padding: 8px 6px; }
  .hpe-hero-text .hpe-count b { font-size: 24px; }
  .hpe-hero-text .hpe-count span { font-size: 11px; }
  .hpe-hero-text .hpe-btn { margin: 6px 0 8px; max-width: 420px; font-size: 17px; padding: 14px 18px; }
  .hpe-hero-text .hpe-micro { text-align: left; font-size: 13px; }
  .hpe-ticks-hero { margin: 0 0 14px; }
  .hpe-ticks-hero li { padding: 0 0 8px 36px; font-weight: 700; font-size: 16px; }
  .hpe-hero-img { position: absolute; top: 0; right: 0; bottom: 0; width: 46%; background-color: #000; background-size: auto 90%; background-position: 100% 100%; background-repeat: no-repeat;
    -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,0) 0%, rgba(0,0,0,.06) 8%, rgba(0,0,0,.18) 18%, rgba(0,0,0,.38) 30%, rgba(0,0,0,.62) 44%, rgba(0,0,0,.85) 58%, #000 72%);
    mask-image: linear-gradient(to right, rgba(0,0,0,0) 0%, rgba(0,0,0,.06) 8%, rgba(0,0,0,.18) 18%, rgba(0,0,0,.38) 30%, rgba(0,0,0,.62) 44%, rgba(0,0,0,.85) 58%, #000 72%); }

  @media (max-width: 860px) {
    .hpe { font-size: 14px; }
    .hpe h2 { font-size: 24px; }
    .hpe-hero h1 { font-size: 32px; }
    .hpe-sub { font-size: 18px; }
    .hpe-hero-grid, .hpe-two, .hpe-about { grid-template-columns: 1fr; }
    .hpe-cards, .hpe-cards-4 { grid-template-columns: 1fr; }
    .hpe-btn { font-size: 14px; padding: 14px 10px; letter-spacing: 0; text-transform: none; }
    .hpe-hero-cols { display: flex; flex-direction: column; padding-top: 0; padding-bottom: 30px; }
    .hpe-hero-text { max-width: none; display: flex; flex-direction: column; }
    .hpe-hero-text .hpe-name { font-size: 20px; order: 1; margin-bottom: 8px; }
    .hpe-hero-text h1 { order: 2; margin-bottom: 14px; }
    .hpe-hero-text .hpe-btn { order: 3; max-width: none; margin: 2px 0 18px; }
    .hpe-hero-text .hpe-ticks-hero { order: 4; }
    .hpe-hero-text .hpe-date { order: 5; }
    .hpe-hero-text .hpe-count { order: 6; }
    .hpe-hero-text h1 { font-size: 24px; }
    .hpe-hero-img { position: relative; order: -1; width: calc(100% + 40px); margin: 0 -20px 16px; height: 190px; background-size: auto 135%; background-position: 88% 4%; margin-bottom: 12px;
      -webkit-mask-image: linear-gradient(to bottom, #000 62%, transparent 100%); mask-image: linear-gradient(to bottom, #000 62%, transparent 100%); }
    .hpe-count div { min-width: 64px; }
    .hpe-count b { font-size: 26px; }
    .hpe-photo { aspect-ratio: 3 / 2; }
  }

.hpe-modal { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 99999; display: none; align-items: center; justify-content: center; padding: 16px; background: rgba(0,0,0,.68); }
  .hpe-modal.is-open { display: flex; }
  .hpe-modal-box { position: relative; width: 100%; max-width: 480px; max-height: 94vh; overflow-y: auto; background: #fff; border: 3px solid #111; border-radius: 16px; padding: 30px 26px 24px; box-shadow: 0 24px 60px rgba(0,0,0,.45); }
  .hpe-modal-box h3 { text-align: center; font-size: 23px; line-height: 1.2; margin: 0 28px 10px; }
  .hpe-modal-sub { text-align: center; font-weight: 700; margin: 0 0 18px; font-size: 16px; }
  .hpe-modal-close { position: absolute; top: 8px; right: 12px; width: 40px; height: 40px; border: 0; background: transparent; font-size: 32px; line-height: 1; cursor: pointer; color: #111; }
  body.hpe-lock { overflow: hidden; }

  /* Fußzeile und einfache Textseiten */
  .hpe-foot a { color: #555; text-decoration: underline; margin: 0 8px; }
  .hpe-foot a:hover { color: #111; }
  .hpe-text h1 { font-size: 34px; text-align: left; }
  .hpe-text h2 { font-size: 24px; text-align: left; margin-top: 28px; }
  .hpe-text ul, .hpe-text ol { padding-left: 24px; }
  .hpe-text li { margin-bottom: 10px; }
  .hpe-text p { font-size: 17px; }
  .hpe-text a { color: var(--hpe-green-dark); font-weight: 700; }
  .hpe-top { background: #111; color: #fff; text-align: center; padding: 12px 14px; font-size: 14px; font-weight: 700; letter-spacing: .5px; }
  .hpe-top a { color: #fff; text-decoration: none; }


/* Schriftgrößen am Handy (bis 860 px), von Michael festgelegt am 20.11.2026 */
@media (max-width: 860px) {
  .hpe-card p, .hpe-dark .hpe-card p { font-size: 14px; }
  .hpe-dark p, .hpe-dark .hpe-box p { font-size: 14px; }
  .hpe-quote p { font-size: 14px; }
  .hpe-faq .hpe-answer { font-size: 14px; }
  .hpe-ps { font-size: 14px; }
  .hpe-form input { font-size: 14px; }
  .hpe-btn small { font-size: 12px; }
  .hpe-hero-text .hpe-btn { font-size: 14px; }
  .hpe-micro { font-size: 14px; }
  .hpe-micro[style*="font-size:13px"], .hpe-hero-text .hpe-micro, .hpe-formnote { font-size: 12px !important; }
}
