/*
 * Erfolgs-Paket landing page.
 *
 * Design-system tokens (colors, typography) followed by the page styles from the
 * design export. Loaded only by the Erfolgs-Paket landing template through its
 * own Vite entry, so none of it reaches the rest of the site.
 *
 * Source: "Landingpage Erfolgs-Paket" export, assets/erfolgs-paket.css +
 * _ds/.../colors_and_type.css. site.css from the design system is deliberately
 * NOT included - it is the main site's UI kit and collides with this layout.
 */

/* ============================================================
   tmsbuddies Design System — Colors & Typography
   Source: Figma "TMS Website Redesign" + Brand Assets
   ============================================================ */

/* ./fonts.css */
/*
 * Selbst gehostete Schriften (Outfit, Nunito).
 *
 * Vorher kamen sie ueber fonts.googleapis.com: ein render-blockierender
 * Stylesheet-Request (751 ms auf Mobile im Lighthouse-Lauf), der erst danach
 * die woff2-Dateien von fonts.gstatic.com nachzog - zwei fremde Verbindungen
 * im kritischen Pfad. Die Dateien liegen jetzt im Theme, Vite hasht sie und
 * liefert sie von derselben Domain aus.
 *
 * Subsets latin + latin-ext, wie Google sie ausliefert. Dank unicode-range
 * laedt der Browser latin-ext nur, wenn ein Zeichen daraus vorkommt.
 * Cyrillic und Vietnamese sind bewusst nicht dabei.
 */

@font-face {
  font-family: 'Nunito';
  font-style: italic;
  font-weight: 200 1000;
  font-display: swap;
  src: url('../fonts/nunito/nunito-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Nunito';
  font-style: italic;
  font-weight: 200 1000;
  font-display: swap;
  src: url('../fonts/nunito/nunito-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url('../fonts/nunito/nunito-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url('../fonts/nunito/nunito-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/outfit/outfit-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/outfit/outfit-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Icon font for the site footer's social icons (facebook, instagram, ...). */
/* ./siteicon.css */
@font-face {
  font-family: 'siteicon';
  src:  url('../fonts/icomoon.eot');
  /* woff before ttf: browsers take the first format they support, and the woff
     is ~30% smaller than the ttf they were downloading instead. */
  src:  url('../fonts/icomoon.eot#iefix') format('embedded-opentype'),
    url('../fonts/icomoon.woff') format('woff'),
    url('../fonts/icomoon.ttf') format('truetype'),
    url('../fonts/icomoon.svg#icomoon') format('svg');
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

[class^="icon-"], [class*=" icon-"] {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: 'siteicon' !important;
  speak: never;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;

  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.icon-expand:before {
  content: "\e948";
}
.icon-timer:before {
  content: "\e946";
}
.icon-diagram:before {
  content: "\e947";
}
.icon-book-open:before {
  content: "\e945";
}
.icon-class-lesson:before {
  content: "\e944";
}
.icon-truck:before {
  content: "\e943";
}
.icon-document:before {
  content: "\e941";
}
.icon-external-link:before {
  content: "\e940";
}
.icon-task-list:before {
  content: "\e93f";
}
.icon-discord:before {
  content: "\e93e";
}
.icon-copy-text:before {
  content: "\e93b";
}
.icon-course:before {
  content: "\e93c";
}
.icon-ticket-sale:before {
  content: "\e93d";
}
.icon-linkedin:before {
  content: "\e935";
}
.icon-instagram:before {
  content: "\e936";
}
.icon-whatsapp:before {
  content: "\e937";
}
.icon-youtube:before {
  content: "\e938";
}
.icon-facebook:before {
  content: "\e939";
}
.icon-star-half:before {
  content: "\e93a";
}
.icon-eye:before {
  content: "\e915";
}
.icon-eye-hide:before {
  content: "\e934";
}
.icon-add:before {
  content: "\e933";
}
.icon-refresh-reverse:before {
  content: "\e920";
}
.icon-quote-left:before {
  content: "\e900";
}
.icon-quote-right:before {
  content: "\e901";
}
.icon-time:before {
  content: "\e902";
}
.icon-add-fill:before {
  content: "\e903";
}
.icon-add-light:before {
  content: "\e904";
}
.icon-arrow-up:before {
  content: "\e905";
}
.icon-arrow-down:before {
  content: "\e906";
}
.icon-arrow-right:before {
  content: "\e907";
}
.icon-arrow-left:before {
  content: "\e908";
}
.icon-arrow-down-v2:before {
  content: "\e909";
}
.icon-arrow-left-v2:before {
  content: "\e90a";
}
.icon-arrow-right-v2:before {
  content: "\e90b";
}
.icon-arrow-up-v2:before {
  content: "\e90c";
}
.icon-calendar-line:before {
  content: "\e90d";
}
.icon-category-light:before {
  content: "\e90e";
}
.icon-check:before {
  content: "\e90f";
}
.icon-course-light:before {
  content: "\e910";
}
.icon-delete-outline:before {
  content: "\e911";
}
.icon-line-log-in:before {
  content: "\e919";
}
.icon-download:before {
  content: "\e912";
}
.icon-upload:before {
  content: "\e942";
}
.icon-edit:before {
  content: "\e913";
}
.icon-edit-fill:before {
  content: "\e914";
}
.icon-info-line:before {
  content: "\e916";
}
.icon-like-light:before {
  content: "\e917";
}
.icon-line-close:before {
  content: "\e918";
}
.icon-link-light:before {
  content: "\e91a";
}
.icon-location-light:before {
  content: "\e91b";
}
.icon-menu-icon:before {
  content: "\e91c";
}
.icon-microphone-light:before {
  content: "\e91d";
}
.icon-mins:before {
  content: "\e91e";
}
.icon-mins-outline:before {
  content: "\e921";
}
.icon-mins-fill:before {
  content: "\e91f";
}
.icon-package-light:before {
  content: "\e922";
}
.icon-people-community-fill:before {
  content: "\e923";
}
.icon-profile-light:before {
  content: "\e924";
}
.icon-search:before {
  content: "\e925";
}
.icon-settion:before {
  content: "\e926";
}
.icon-shopping-cart-light:before {
  content: "\e927";
}
.icon-show-light:before {
  content: "\e928";
}
.icon-star-light:before {
  content: "\e929";
}
.icon-simulation-fill:before {
  content: "\e92a";
}
.icon-category-fill:before {
  content: "\e92b";
}
.icon-live-fill:before {
  content: "\e92c";
}
.icon-brain-fill:before {
  content: "\e92d";
}
.icon-shopping-cart-fill:before {
  content: "\e92e";
}
.icon-chat-fill:before {
  content: "\e92f";
}
.icon-star-fill:before {
  content: "\e930";
}
.icon-learning-app-fill:before {
  content: "\e931";
}
.icon-info-rounded-fill:before {
  content: "\e932";
}

/* ============================================================
   COLOR TOKENS
   ============================================================ */
/* Design tokens, reset, typography and the site footer - shared verbatim by
   all three landing stylesheets. */
/* ./landing-tokens.css */
/*
 * Design tokens, reset and typography for the ad landing pages.
 *
 * Identical in erfolgs-paket.css, simulations.css and bootcamp.css (the
 * three design exports ship the same colors_and_type.css), so it lives
 * here once and is @imported by each of them. Vite inlines the import
 * into every entry bundle, so no page downloads more than before.
 *
 * Prefix-free on purpose: only tokens, the reset and the .t-* type
 * classes. Everything with an ep-/sb-/bc- prefix stays in its own file.
 */

:root {
  /* --- Primary Orange --- */
  --primary-100: #FFDFCC;
  --primary-200: #FFBF99;
  --primary-300: #FF9E66;
  --primary-350: #FF9456;
  --primary-400: #FF7E33;
  --primary-450: #FF711F;
  --primary-500: #FF5E00;   /* ← brand primary */
  --primary-550: #E95600;
  --primary-600: #CC4B00;
  --primary-700: #993800;
  --primary-800: #662600;
  --primary-900: #331300;
  --primary-950: #190900;

  /* --- Base --- */
  --white:  #FFFFFF;
  --black:  #000000;
  --dark:   #190F23;   /* primary text / near-black */

  /* --- Neutral Text --- */
  --text-primary:   #190F23;
  --text-secondary: #5B5F7D;
  --text-muted:     #8A8A8A;
  --text-light:     #CCCCCC;
  --text-dark2:     #22262F;

  /* --- Background Scale --- */
  --bg-white:  #FFFFFF;
  --bg-0:      #F5F6FA;
  --bg-1:      #EEF1FF;
  --bg-2:      #E6EAFF;
  --bg-3:      #E0E5FF;
  --bg-4:      #EAEFF7;
  --bg-5:      #E6ECF5;
  --bg-6:      #C8D2E3;
  --bg-dark1:  #383B43;
  --bg-dark2:  #22262F;

  /* --- Accent Purple --- */
  --accent-purple-900: #140C31;
  --accent-purple-700: #3C2FA0;
  --accent-purple-500: #6443F8; /* rgb(100,60,248) */
  --accent-purple-400: #A7A1FF;
  --accent-purple-200: #D1C2FE;
  --accent-purple-100: #E8E0FF;

  /* --- Accent Yellow --- */
  --accent-yellow-900: #332800;
  --accent-yellow-500: #FFA300;
  --accent-yellow-200: #FFE0A0;
  --accent-yellow-100: #FFF3D6;

  /* --- Accent Blue (Discord / links) --- */
  --accent-blue-500: #3939F5;
  --accent-blue-400: #5B5BF6;
  --accent-blue-300: #7575F8;
  --accent-blue-200: #E0E5FF;
  --accent-blue-100: #EEF1FF;

  /* --- Status Colors --- */
  --success-500: #22C55E;
  --success-100: #DCFCE7;
  --warning-500: #F59E0B;
  --warning-100: #FEF3C7;
  --error-500:   #EF4444;
  --error-100:   #FEE2E2;
  --info-500:    #3B82F6;
  --info-100:    #DBEAFE;

  /* --- Semantic Aliases --- */
  --color-bg:            var(--bg-white);
  --color-bg-subtle:     var(--bg-0);
  --color-bg-section:    var(--bg-0);
  --color-surface:       var(--white);
  --color-border:        var(--bg-6);
  --color-border-subtle: var(--bg-3);
  --color-text:          var(--text-primary);
  --color-text-muted:    var(--text-secondary);
  --color-brand:         var(--primary-500);
  --color-brand-hover:   var(--primary-400);
  --color-brand-press:   var(--primary-550);
  --color-brand-disabled:var(--primary-300);

  /* ============================================================
     SHADOWS
     ============================================================ */
  --shadow-card:   0px 2px 16px rgba(0,0,0,0.08);
  --shadow-nav:    0px 4px 16px rgba(0,0,0,0.04);
  --shadow-subtle: 0px 4px 25px rgba(0,0,0,0.05);
  --shadow-banner: 0px 2px 16px rgba(0,0,0,0.08);

  /* ============================================================
     BORDER RADIUS
     ============================================================ */
  --radius-pill:   100px;
  --radius-card-lg: 32px;
  --radius-card:   24px;
  --radius-badge:  16px;
  --radius-input:  8px;
  --radius-sm:     4px;

  /* ============================================================
     SPACING SCALE
     ============================================================ */
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  24px;
  --space-6:  32px;
  --space-7:  36px;
  --space-8:  40px;
  --space-9:  48px;
  --space-10: 64px;
  --space-11: 80px;
  --space-12: 120px;

  /* ============================================================
     TYPOGRAPHY BASE
     ============================================================ */
  --font-display:  'Outfit', sans-serif;
  --font-body:     'Nunito', sans-serif;
  --font-ui:       'Outfit', sans-serif;
  /* The design export named Red Hat Display and Raleway here, but the design
     system has only Outfit and Nunito — neither font is loaded, so quotes,
     eyebrows and badges fell back to the browser's default sans. Both tokens
     stay (10 usages) and point at the system's display face. */
  --font-label:    'Outfit', sans-serif;
  --font-hero:     'Outfit', sans-serif;

  /* Font sizes */
  --text-xs:   12px;
  --text-sm:   14px;
  --text-base: 16px;
  --text-md:   18px;
  --text-lg:   20px;
  --text-xl:   24px;
  --text-2xl:  28px;
  --text-3xl:  32px;
  --text-4xl:  48px;
  --text-hero: 64px;

  /* Line heights */
  --leading-tight:  1.0;
  --leading-snug:   1.2;
  --leading-normal: 1.4;
  --leading-relaxed:1.5;

  /* Letter spacing */
  --tracking-tight:  -0.02em;
  --tracking-normal:  0em;
  --tracking-wide:    0.01em;
  --tracking-button:  0.02em;
}

/* ============================================================
   SEMANTIC TYPOGRAPHY CLASSES
   ============================================================ */

/* Display / Hero */
.t-hero {
  font-family: var(--font-hero);
  font-weight: 500;
  font-size: var(--text-hero);
  line-height: var(--leading-tight);
  color: var(--text-primary);
}

/* Headings */
h1, .t-h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-4xl);
  line-height: var(--leading-snug);
  letter-spacing: var(--tracking-tight);
  color: var(--text-primary);
}

h2, .t-h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-3xl);
  line-height: var(--leading-snug);
  letter-spacing: var(--tracking-tight);
  color: var(--text-primary);
}

h3, .t-h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-2xl);
  line-height: var(--leading-normal);
  color: var(--text-primary);
}

h4, .t-h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-xl);
  line-height: var(--leading-normal);
  color: var(--text-primary);
}

h5, .t-h5 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-lg);
  line-height: var(--leading-normal);
  color: var(--text-primary);
}

/* Body */
p, .t-body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--text-primary);
}

.t-body-bold {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--text-primary);
}

.t-body-lg {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--text-md);
  line-height: var(--leading-normal);
  color: var(--text-primary);
}

/* UI / Label */
.t-label {
  font-family: var(--font-label);
  font-weight: 700;
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--text-primary);
}

.t-ui {
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--text-primary);
}

/* Button text */
.t-button {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-lg);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-button);
}

.t-button-sm {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-base);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-button);
}

/* Caption / Meta */
.t-caption {
  font-family: var(--font-ui);
  font-weight: 400;
  font-size: var(--text-sm);
  line-height: var(--leading-normal);
  color: var(--text-secondary);
}

.t-xs {
  font-family: var(--font-ui);
  font-weight: 400;
  font-size: var(--text-xs);
  line-height: var(--leading-relaxed);
  color: var(--text-muted);
}

/* Muted / secondary text */
.t-muted {
  color: var(--text-secondary);
}


/* ./landing-footer.css */
/*
 * Site footer for the ad landing pages.
 *
 * The landing layout renders sections/footer.blade.php but deliberately
 * does not load the site bundle, so these rules are hand-translated from
 * base.css (footer section, .container, .btn). They were copied verbatim
 * into all three landing stylesheets; they live here once instead.
 *
 * When the site footer's design changes in base.css, this file has to
 * follow.
 */

footer a { color: inherit; text-decoration: none; }

footer .container {
  max-width: 1232px;
  width: 100%;
  padding-left: 16px;
  padding-right: 16px;
  margin: 0 auto;
}

.footer-widget-area {
  padding: 64px 0 40px;
  background: #EAEFF7;
}
.footer-widget-area .container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}
.footer-block h3,
.footer-block h4.widget-title {
  font-size: 1.25rem;
  line-height: 1.75rem;
  margin-bottom: 12px;
  font-family: 'Nunito', sans-serif;
}
.footer-block .wp-block-image img {
  max-height: 32px;
  width: auto !important;   /* the widget carries an inline width */
  margin-bottom: 24px;
}
.footer-social-list {
  display: flex;
  gap: 12px;
  list-style: none;
}
.footer-social-list li a {
  padding: 8px;
  border-radius: 8px;
  background: #190F23;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .15s cubic-bezier(.4, 0, .2, 1);
}
.footer-social-list li a:hover { background: #ff711f; }
.footer-social-list li a i {
  font-size: 1.25rem;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.footer-block .tag-line p {
  font-size: .875rem;
  line-height: 1.25rem;
  margin: 4px 0 24px;
  color: #5B5F7D;
  font-family: 'Outfit', sans-serif;
}
.footer-block .contact-detail h4 {
  font-size: 1rem;
  line-height: 1.5rem;
  margin-bottom: 4px;
}
.footer-block .contact-detail p {
  font-size: .875rem;
  line-height: 1.25rem;
  color: #5B5F7D;
  font-family: 'Outfit', sans-serif;
}
.footer-block .contact-detail p a:hover { color: #ff711f; }
.footer-block .contact-detail .address { margin-bottom: 24px; }
.footer-block .contact-detail .phone { margin-bottom: 8px; }
.footer-block .contact-detail .info-mail { margin-bottom: 24px; }
.footer-block .menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style: none;
}
.footer-block .menu li { font-size: 1rem; line-height: 22px; }
.footer-block .menu li a:hover { color: #ff711f; }
.footer-block .menu li.menu-item-has-children { display: none; }
.footer-block .webner-text p {
  font-size: 1rem;
  line-height: 1.5rem;
  margin-bottom: 24px;
}
.footer-block .webner-btn { display: flex; }

footer .btn {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  position: relative;
  font-weight: 500;
  font-family: 'Outfit', sans-serif;
  font-size: 1.125rem;
  line-height: 1.75rem;
  text-align: center;
  border: 1px solid transparent;
  border-radius: 32px;
  text-decoration: none !important;
  padding: 12px 24px;
  transition: all .15s cubic-bezier(.4, 0, .2, 1);
  cursor: pointer;
}
footer .btn:active { transform: scale(.95); }
footer .btn.btn-primary {
  border-color: #FF5E00;
  background: #FF5E00;
  color: #FFFFFF;
}
footer .btn.btn-primary:hover { background: #ff711f; }
footer .btn.btn-primary:focus,
footer .btn.btn-primary:active {
  background: #E95600;
  border-color: #E95600;
}

.copyright-widget-area {
  padding: 40px 0 64px;
  background: #EAEFF7;
  position: relative;
}
.copyright-widget-area::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background: #ABBECA;
  max-width: calc(1232px - 32px);
  width: calc(100% - 32px);
  height: 1px;
}
.copyright-widget-area p {
  font-size: .875rem;
  line-height: 20px;
  color: #5B5F7D;
}
.copyright-widget-area p a:hover { color: #ff711f; }

@media (min-width: 768px) {
  .footer-widget-area .container { flex-direction: row; }
  .footer-block { flex: 33.3333%; }
  .footer-social-list { gap: 16px; }
  .footer-social-list li a { padding: 12px; }
}
@media (min-width: 992px) {
  .footer-block { flex: 30%; }
  .footer-block:first-child { flex: 40%; }
}


/* ============ Seiten-Stylesheet ============ */

/* ============================================================
   Landingpage "Erfolgs-Paket" — Seiten-Stylesheet
   Implementierung von: Landingpage Erfolgs-Paket.dc.html
   Tokens kommen aus dem Design System (colors_and_type.css).
   Kein site.css: das ist das UI-Kit der Hauptseite (1200px-Layout),
   die LP läuft auf einer eigenen 760px-Spalte.
   ============================================================ */

/* ./landing-reset.css */
/*
 * Reset und Basis-Elementstile der Ad-Landingpages.
 *
 * Die Seiten laden app.css bewusst nicht, bringen den Reset also selbst
 * mit. Er stand Zeile fuer Zeile identisch in erfolgs-paket.css,
 * simulations.css und bootcamp.css.
 *
 * Praefixfrei: alles ab .ep-/.sb-/.bc- bleibt in der jeweiligen Datei.
 */

/* ---------- Reset / Basis ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

/* Browser-Defaults abräumen. site.css macht das über `* { margin:0 }`,
   wird hier aber nicht geladen. */
h1, h2, h3, h4, h5, h6,
p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; }

/* [hidden] muss gegen display:flex/grid der Komponenten gewinnen */
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg-0);
  color: var(--text-primary);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img { max-width: 100%; }

a { color: var(--primary-500); text-decoration: none; }
a:hover { text-decoration: underline; }

:focus-visible {
  outline: 3px solid var(--accent-purple-500);
  outline-offset: 2px;
  border-radius: 4px;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}



.ep-skip {
  position: absolute;
  left: 12px; top: -100px;
  z-index: 100;
  background: var(--white);
  color: var(--text-primary);
  font-family: var(--font-display);
  font-weight: 700;
  padding: 12px 20px;
  border-radius: var(--radius-badge);
  box-shadow: var(--shadow-card);
  transition: top 150ms cubic-bezier(0.22, 1, 0.36, 1);
}
.ep-skip:focus { top: 12px; text-decoration: none; }

/* ============================================================
   MICRO-ANIMATIONEN
   Startzustand steht hier (nicht im JS), sonst blitzt der Inhalt
   vor dem ersten Frame kurz auf. `.js` setzt das Inline-Skript im
   <head>, also bleibt ohne JS alles sichtbar.
   Die Auswahl muss deckungsgleich mit SELECTORS in
   erfolgs-paket.js bleiben.
   ============================================================ */
:root {
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --reveal-duration: 520ms;
}

.js :where(
  .ep-hero__meta, .ep-h1, .ep-lead, .ep-hero__img,
  .ep-pricecard, [data-hero-cta], .ep-cta--secondary, .ep-note, .ep-countdown,
  .ep-eyebrow, .ep-h2, .ep-stack > *, .ep-quote,
  .ep-step, .ep-tabs__label, .ep-viewer, .ep-video,
  .ep-cta--after-viewer, .ep-viewernote, .ep-items, .ep-sum, .ep-fineprint,
  .ep-stats > *, .ep-reviews__label, .ep-review,
  .ep-source, .ep-reviews__all, .ep-reviews__google,
  .ep-founder, .ep-team__title, .ep-team__sub, .ep-team__member,
  .ep-offer, .ep-faq__item, .ep-fallback
).ep-reveal {
  opacity: 0;
  transform: translateY(10px);
}

.js .ep-reveal {
  transition: opacity var(--reveal-duration) var(--ease-out),
              transform var(--reveal-duration) var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
.js .ep-reveal.is-in {
  opacity: 1;
  transform: none;
  will-change: auto;
}

/* Seitenwechsel im Viewer: kurzes Einblenden statt hartem Sprung */
@keyframes ep-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Taktiles Feedback */
.ep-btn:active { transform: scale(0.985); }
.ep-tab:active { transform: scale(0.97); }
.ep-viewer__btn:not(:disabled):active { transform: scale(0.94); }
.ep-review__toggle:active { opacity: 0.7; }

.ep-faq__item {
  transition: box-shadow 200ms var(--ease-out);
}
.ep-faq__item:hover { box-shadow: var(--shadow-card); }
/* „+" dreht beim Öffnen auf „×" */
.ep-faq__sign {
  display: inline-block;
  transition: transform 220ms var(--ease-out);
}
.ep-faq__item[open] .ep-faq__sign { transform: rotate(45deg); }

/* ---------- Layout ---------- */
.ep-section {
  /* --section-pad ist die einzige Quelle fuer die seitliche Sektionspolsterung.
     Wer sie aendert, tut das hier - der waagrechte Scroller in .ep-sets hebt
     genau diesen Wert per negativem Rand wieder auf. Stand der Wert dort fest,
     scrollte die Seite unter 420px um 8px seitwaerts. */
  --section-pad: var(--space-5);
  padding: var(--space-11) var(--section-pad);
  display: flex;
  justify-content: center;
}
.ep-section--light { background: var(--white); }
.ep-section--tint  { background: var(--bg-0); }
.ep-section--hero  { background: var(--white); padding: var(--space-8) var(--section-pad) var(--space-10); }
/* Die Sticky-Leiste ist rund 72px hoch und liegt fix über dem Seitenende;
   auf Mobil blieben nach dem Padding nur 64px, der Rest lag darunter. Die
   Leistenhöhe plus Safe-Area kommt deshalb oben drauf. */
.ep-section--last  { padding-bottom: calc(var(--space-12) + 72px + env(safe-area-inset-bottom, 0px)); }

/* Äußerer Rahmen 1200px, mittig auf der Seite. Darin ein Drei-Spalten-Raster:
   Inhalt sitzt in der zentrierten 760px-Spalte, die Bild- und Kachelraster
   spannen über die volle Breite. Platzierung über Grid statt Margins, damit
   die Abstände der Komponenten unberührt bleiben. */
.ep-wrap {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr min(760px, 100%) 1fr;
}
.ep-wrap > * { grid-column: 2; }
.ep-wrap > .ep-steps,
.ep-wrap > .ep-team,
.ep-wrap > .ep-reviews,
.ep-wrap > .ep-stats,
.ep-wrap > .ep-sets { grid-column: 1 / -1; }

.ep-wrap > .ep-founder { grid-column: 1 / -1; }

/* ---------- Desktop-Layouts ---------- */
@media (min-width: 1000px) {
  .ep-wrap > .ep-steps,
  .ep-wrap > .ep-reviews {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: start;
    gap: var(--space-4);
  }

  /* Ungerade Anzahl: die letzte Karte allein in der Reihe wird mittig
     gesetzt statt links liegen zu bleiben. Gilt für Schritte und Bewertungen. */
  .ep-wrap > .ep-steps > .ep-step:last-child:nth-child(odd),
  .ep-wrap > .ep-reviews > .ep-review:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    width: calc(50% - var(--space-2));
    justify-self: center;
  }

  /* Hero: Produktbild links, klebt beim Scrollen; Inhalt rechts */
  .ep-wrap--hero { grid-template-columns: 1fr 1fr; column-gap: var(--space-9); }
  .ep-wrap--hero > * { grid-column: 2; }
  .ep-wrap--hero > .ep-hero__img {
    grid-column: 1;
    grid-row: 1 / span 30;
    align-self: start;
    position: sticky;
    top: var(--space-5);
    aspect-ratio: 4 / 3;
    object-fit: contain;
    padding: var(--space-5);
    margin-bottom: 0;
  }

  /* Sections mit breiten Rastern: Eyebrow und Überschrift starten an
     derselben Kante wie die Karten darunter, sonst springt die Achse.
     Fließtext und Buttons bleiben in der lesbaren Breite. */
  .ep-wrap--wide > * { grid-column: 1 / -1; }
  .ep-wrap--wide > .ep-prose,
  .ep-wrap--wide > .ep-quote,
  .ep-wrap--wide > .ep-source,
  .ep-wrap--wide > .ep-team__sub,
  .ep-wrap--wide > .ep-reviews__google,
  .ep-wrap--wide > .ep-btn { max-width: 760px; }

  /* Abschluss-Blöcke sitzen auf der Mittelachse der Section. Die letzte Karte
     einer ungeraden Reihe wird oben bereits zentriert; ein linksbündiger Block
     direkt darunter bricht diese Achse sichtbar (Zitat nach den Schritten,
     Quellenhinweis und Button nach den Bewertungen). Eyebrow, Überschrift und
     einleitender Text bleiben linksbündig — die teilen die Kante mit den
     Karten. */
  .ep-wrap--wide > .ep-quote,
  .ep-wrap--wide > .ep-source,
  .ep-wrap--wide > .ep-reviews__google { justify-self: center; }

  /* Der Button folgt seiner Beschriftung, statt auf die volle Lesebreite zu
     strecken: eine 760px breite Pille für vier Wörter liest sich als Fehler. */
  .ep-wrap--wide > .ep-btn { justify-self: center; width: auto; }

  /* Einblick: Kompendium-Seite links, Videos und CTA rechts */
  .ep-wrap--einblick { grid-template-columns: 1fr 1fr; column-gap: var(--space-5); }
  .ep-wrap--einblick > * { grid-column: 1 / -1; }
  .ep-wrap--einblick > .ep-viewer {
    grid-column: 1;
    grid-row: span 3;
    align-self: start;
  }
  .ep-wrap--einblick > .ep-video,
  .ep-wrap--einblick > .ep-cta--after-viewer { grid-column: 2; align-self: start; }
  .ep-wrap--einblick > .ep-video:first-of-type { margin-top: 0; }

  /* Neun Pills passen bei 1200px nicht in eine Zeile — umbrechen statt
     seitlich abschneiden, der Sticky-Streifen entfällt dabei. */
  .ep-wrap--einblick > .ep-tabs {
    position: static;
    flex-wrap: wrap;
    overflow: visible;
    margin: 0 0 var(--space-4);
    padding: 0;
  }

  /* Beweis: drei Kennzahlen in einer Reihe */
  .ep-wrap > .ep-stats { grid-template-columns: repeat(3, 1fr); }
  .ep-stats > .ep-stat--wide { grid-column: auto; }

  /* Mr. TMS: Foto links, Text rechts */
  .ep-founder {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: var(--space-6);
    align-items: center;
    padding: var(--space-6);
  }
  .ep-founder__photo {
    grid-column: 1;
    grid-row: 1 / span 3;
    height: 100%;
    max-height: 420px;
    object-fit: cover;
    margin-bottom: 0;
    align-self: stretch;
  }
  .ep-founder > :not(.ep-founder__photo) { grid-column: 2; }
}

/* ---------- Kopfzeile ---------- */
.ep-header {
  background: var(--white);
  border-bottom: 1px solid var(--bg-3);
  padding: var(--space-4) var(--space-5);
  display: flex;
  justify-content: center;
}
.ep-header__inner {
  width: 100%;
  max-width: 1200px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}
.ep-header__logo { height: 28px; width: auto; display: block; }

/* ---------- Countdown-Leiste unter der Kopfzeile ---------- */
.ep-topbar {
  background: var(--bg-1);
  border-bottom: 1px solid var(--bg-3);
  padding: 10px var(--space-5);
}
.ep-topbar__inner {
  max-width: 1200px;
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 4px 6px;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--text-primary);
}
.ep-topbar__label {
  font-weight: 600;
  margin-right: 2px;
}
.ep-topbar__value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-md);
  color: var(--accent-purple-500);
  font-variant-numeric: tabular-nums;
}
.ep-topbar__unit {
  color: var(--text-secondary);
  margin-right: var(--space-2);
}
.ep-topbar__unit:last-child { margin-right: 0; }

@media (max-width: 420px) {
  .ep-topbar { padding: 8px var(--space-4); }
  .ep-topbar__inner { font-size: 13px; gap: 2px 4px; }
  .ep-topbar__value { font-size: var(--text-base); }
}

/* ---------- Typografie-Bausteine ---------- */
.ep-eyebrow {
  font-family: var(--font-label);
  font-weight: 700;
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: var(--space-4);
}
.ep-eyebrow--brand { color: var(--primary-500); }

.ep-badge {
  font-family: var(--font-label);
  font-weight: 700;
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  /* Auf dem hellen Orange-Chip kam --primary-500 auf 2,43:1. Gleicher
     Farbton, dunklere Stufe, damit 12px Versalien lesbar bleiben. */
  color: var(--primary-700);
  background: var(--primary-100);
  padding: 6px 12px;
  border-radius: var(--radius-badge);
}

.ep-h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 6.4vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin: 0 0 var(--space-4);
  text-wrap: pretty;
}
.ep-h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 5.2vw, 40px);
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin: 0 0 var(--space-5);
  text-wrap: pretty;
}
.ep-h2--sm {
  font-size: clamp(26px, 4.6vw, 34px);
  line-height: 1.2;
}
.ep-h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-lg);
  line-height: var(--leading-normal);
  color: var(--text-primary);
  margin: 0 0 6px;
}

.ep-lead {
  font-family: var(--font-body);
  font-size: var(--text-md);
  line-height: var(--leading-relaxed);
  color: var(--text-secondary);
  margin: 0 0 28px;
  max-width: 60ch;
  text-wrap: pretty;
}
.ep-prose {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
}
.ep-prose--strong {
  font-weight: 700;
  font-size: 19px;
  line-height: var(--leading-relaxed);
  color: var(--text-primary);
}
.ep-quote {
  font-family: var(--font-hero);
  font-weight: 500;
  font-size: var(--text-lg);
  line-height: var(--leading-normal);
  color: var(--text-primary);
  margin: 28px 0 0;
}
.ep-quote__by {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-secondary);
}
.ep-fineprint {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 10px 0 0;
}
.ep-source {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  line-height: 1.6;
  color: var(--text-secondary);
  margin: var(--space-5) 0 0;
}
.ep-source strong { color: var(--text-primary); }

/* ---------- Buttons ----------
   Maße aus dem UI-Kit (`ui_kits/website/site.css`): .btn--lg ist
   16px/28px bei 17px Schrift, .btn 13px/24px bei 15px. min-height
   sichert nur das 44px-Tap-Target ab. */
.ep-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  width: 100%;
  min-height: 48px;
  padding: var(--space-4) 28px;
  border: 0;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: var(--tracking-button);
  line-height: var(--leading-tight);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background 150ms cubic-bezier(0.22, 1, 0.36, 1),
              border-color 150ms cubic-bezier(0.22, 1, 0.36, 1);
}
.ep-btn:hover { text-decoration: none; }

.ep-btn--primary { background: var(--primary-500); color: var(--white); }
.ep-btn--primary:hover { background: var(--primary-400); }
.ep-btn--primary:active { background: var(--primary-550); }

.ep-btn--ghost {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--text-primary);
  padding: 14px 26px;
}
.ep-btn--ghost:hover { background: rgba(25, 15, 35, 0.05); }

.ep-btn--dark {
  background: var(--dark);
  color: var(--white);
  width: auto;
  display: inline-flex;
  padding: var(--space-4) var(--space-6);
}
.ep-btn--dark:hover { background: var(--bg-dark2); }

/* Zweitrangiger CTA direkt unter dem primären */
.ep-cta--secondary { margin-top: 10px; }

/* Sprungziele nicht bündig an die Fensterkante setzen */
#paketinhalt, #preis { scroll-margin-top: var(--space-5); }

/* Kompakte Variante, Maße von .btn im UI-Kit */
.ep-btn--sm {
  min-height: 44px;
  padding: 13px var(--space-5);
  font-size: 15px;
}

/* ---------- Hero ---------- */
.ep-hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px var(--space-3);
  margin-bottom: var(--space-5);
}
.ep-hero__rating {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--text-secondary);
}
.ep-hero__img {
  width: 100%;
  height: auto;
  aspect-ratio: 2560 / 1013;
  object-fit: cover;
  border-radius: var(--radius-card);
  background: var(--bg-1);
  display: block;
  margin-bottom: 28px;
}
.ep-note {
  background: var(--bg-1);
  border-radius: var(--radius-badge);
  padding: 14px 18px;
  margin-top: var(--space-5);
  text-align: center;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  line-height: 1.6;
  color: var(--text-dark2);
}

/* ---------- Preiskarte ---------- */
.ep-pricecard {
  background: var(--white);
  border: 2px solid var(--primary-500);
  border-radius: var(--radius-card);
  padding: var(--space-5);
  box-shadow: var(--shadow-card);
}
.ep-pricecard--standalone { margin-top: 28px; }

/* Benennt den Kaufgegenstand über dem Preis */
.ep-pricecard__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-lg);
  color: var(--text-primary);
  margin-bottom: var(--space-2);
}

.ep-pricecard__head {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 6px var(--space-3);
}
/* baseline würde den zweizeiligen Zusatz an der Grundlinie der großen
   Preiszahl aufhängen und damit nach unten kippen — mittig sitzt er ruhiger */
.ep-pricecard__head--baseline { align-items: center; }

.ep-price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 8vw, 56px);
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: var(--primary-500);
}
.ep-price--sm { font-size: 40px; line-height: 1; }

.ep-price__aside {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  line-height: var(--leading-normal);
  color: var(--text-secondary);
}
.ep-price__compare {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin-top: 10px;
  /* verhindert, dass das „€" allein in die zweite Zeile rutscht */
  text-wrap: pretty;
}

.ep-rates {
  margin-top: var(--space-5);
  padding-top: var(--space-5);
  border-top: 1px solid var(--bg-3);
}
/* Kein Flex-Container: als Textfluss bleibt das PayPal-Logo hinter „mit"
   und fällt nicht allein in die nächste Zeile. */
.ep-rates__head {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-md);
  line-height: 1.6;
  text-wrap: pretty;
}
.ep-rates__accent { color: var(--primary-500); }
.ep-rates__paypal {
  height: 22px;
  width: auto;
  border-radius: var(--radius-sm);
  display: inline-block;
  vertical-align: -5px;
  margin-left: 2px;
}

.ep-rates__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(84px, 1fr));
  gap: var(--space-2);
  margin-top: 14px;
  padding: 0;
  margin-bottom: 0;
  list-style: none;
}
.ep-rate {
  border: 1px solid var(--bg-6);
  background: var(--white);
  border-radius: var(--radius-badge);
  text-align: center;
  padding: var(--space-3) 6px;
}
/* Ratenzahl über Betrag, beides zentriert — die beiden Spans müssen
   dafür Blöcke sein, sonst kleben sie in einer Zeile aneinander. */
.ep-rate__n {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-base);
  line-height: 1.25;
}
.ep-rate__amount {
  display: block;
  margin-top: 2px;
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.3;
  color: var(--text-secondary);
}

/* Auswahl gedrucktes Skriptum, gleiche Optik wie der Phasen-Umschalter */
.ep-variant {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: var(--space-4);
  padding: 4px;
  background: var(--bg-2);
  border-radius: var(--radius-badge);
}
/* Vier Optionen (Rundum-Sorglos-Paket): festes 2x2-Raster statt Flex-Umbruch,
   sonst kommen die laengeren Labels unterschiedlich breit heraus. Zwei Optionen
   (Erfolgs-Paket) bleiben im Flex-Layout darueber. */
.ep-variant--4 {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.ep-variant--4 .ep-variant__opt { flex: none; }

/* --- Basis-Paket: Skriptum-Blaetterer statt Kompendium-Viewer -------------
   Das Paket enthaelt das Kompendium nicht, deshalb blaettert §4 dort durch
   Skriptum-Seiten: keine Untertest-Tabs, keine Loesungsvideos, dafuer eine
   Bildunterschrift je Seite.

   Keine eigene Breitenregel: die Sektion nutzt .ep-wrap--einblick wie die
   Schwesterseiten, und dieses Raster stellt den Blaetterer schon in die linke
   Haelfte. Der Design-Export brauchte dort ein max-width, weil seine Sektion
   einspaltig war. */
.ep-viewer__caption {
  padding: 0 18px var(--space-4);
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  color: var(--text-secondary);
}

/* Das Basis-Paket ist das einzige Paket ohne Streichpreis: die sechs
   Bestandteile werden nicht einzeln verkauft, es gibt also keinen
   Vergleichspreis und keine ausweisbare Ersparnis. Statt der Streichpreiszeile
   steht hier ein Klartext-Hinweis, statt der Summenzeile ein Absatz. */
.ep-price__hint {
  margin-top: 10px;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  text-wrap: pretty;
}
.ep-sum--plain {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--text-secondary);
}

/* --- Kompendium-Bundle: Umfang-Karten und Vergleichstabelle ---------------
   Beides gibt es nur auf dieser Seite. Bei einem Aufgabenprodukt ist "wie viel
   wovon" die eigentliche Frage, und der Streichpreis rechnet sich anders als
   die aktuellen Einzelpreise — das braucht eine Tabelle. */

.ep-sets {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  /* Schon auf dem Telefon zweispaltig: acht hochformatige Karten
     untereinander waeren sonst eine sehr lange Strecke Scrollweg. */
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
}
.ep-set {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: var(--space-3);
  min-width: 0;
}
.ep-set__cover {
  width: 100%;
  /* height: auto ist Pflicht: ohne sie schlaegt der Praesentations-Hint aus
     dem height-Attribut durch und die Kachel wird meterhoch. */
  height: auto;
  /* Die Cover sind hochformatig. In einer Querformat-Kachel blieben sie ein
     schmaler Streifen in der Mitte. */
  aspect-ratio: 4 / 5;
  object-fit: contain;
  background: var(--bg-1);
  border-radius: var(--radius-input);
  padding: var(--space-3);
  box-sizing: border-box;
  margin-bottom: var(--space-3);
}
.ep-set__count {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.2;
  color: var(--primary-500);
}
.ep-set__name {
  margin: 2px 0 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.3;
  color: var(--text-primary);
  text-wrap: balance;
}
.ep-set__text {
  margin: 0;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-secondary);
}

/* Eigener overflow-Container, damit die Seite selbst nie waagrecht scrollt. */
.ep-tablewrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: var(--space-4);
  /* Karte und Schatten gehören auf den Scroll-Container, nicht auf die
     Tabelle: overflow-x setzt overflow-y implizit auf auto, dieser Kasten
     schneidet also alles ab, was über ihn hinausragt - ein box-shadow auf
     .ep-table wurde an allen vier Seiten flach abgeschnitten. */
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}
.ep-table {
  width: 100%;
  min-width: 420px;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius-card);
  overflow: hidden;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.5;
}
.ep-table th,
.ep-table td {
  padding: var(--space-3) var(--space-4);
  text-align: left;
  border-bottom: 1px solid var(--bg-2);
  color: var(--text-secondary);
}
.ep-table thead th {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--text-primary);
  background: var(--bg-1);
  white-space: nowrap;
}
.ep-table tbody tr:last-child td { border-bottom: 0; }
.ep-table__sum td,
.ep-table__sum th,
.ep-table__bundle td,
.ep-table__bundle th {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text-primary);
  background: var(--bg-1);
}
.ep-table__caption {
  caption-side: top;
  padding: 0 0 var(--space-3);
  text-align: left;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-muted);
}

@media (min-width: 720px)  { .ep-sets { gap: var(--space-4); } }
@media (min-width: 1000px) { .ep-sets { grid-template-columns: repeat(4, 1fr); } }

/* Unter 1000px waagrechter Scroller statt Raster: acht hochformatige Karten
   untereinander kosten zu viel Seitenlaenge. Eigener overflow-Container, die
   Seite selbst scrollt weiterhin nicht seitwaerts. Die negativen Raender heben
   die Sektionspolsterung auf, damit die Karten am Bildschirmrand anschneiden —
   das signalisiert, dass es seitlich weitergeht. */
@media (max-width: 999px) {
  .ep-sets {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    margin-inline: calc(-1 * var(--section-pad));
    padding-inline: var(--section-pad);
    scroll-padding-inline: var(--section-pad);
    padding-bottom: var(--space-3);
    /* Wie beim Untertest-Streifen: keine Systemleiste. */
    scrollbar-width: none;
  }
  .ep-sets::-webkit-scrollbar { display: none; }
  .ep-set {
    flex: 0 0 clamp(190px, 58vw, 240px);
    scroll-snap-align: start;
  }
}
/* Erklaert in der Angebotskarte, was die gewaehlte Druck-Variante konkret
   bedeutet. Text kommt je Variante aus dem Payload ([data-variant-note]). */
.ep-offer__variantnote {
  margin: 10px 0 0;
  text-align: center;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  line-height: 1.5;
  color: var(--text-secondary);
}
.ep-variant__opt {
  flex: 1 1 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px var(--space-3);
  border-radius: var(--radius-badge);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  line-height: 1.3;
  text-align: center;
  color: var(--text-secondary);
  cursor: pointer;
  transition: background 150ms var(--ease-out), color 150ms var(--ease-out);
}
.ep-variant__opt:hover { color: var(--text-primary); }
.ep-variant__opt input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.ep-variant__opt:has(input:checked) {
  background: var(--white);
  color: var(--text-primary);
  box-shadow: var(--shadow-card);
}
.ep-variant__opt:has(input:focus-visible) {
  outline: 3px solid var(--accent-purple-500);
  outline-offset: 2px;
}
.ep-variant__delta {
  /* 2,56:1 auf dem eingefaerbten Auswahlfeld — eine Stufe dunkler. */
  color: var(--primary-700);
  white-space: nowrap;
}

/* Pflichtangabe zur PayPal-Ratenzahlung */
.ep-rates__note {
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-secondary);
  margin-top: 10px;
}

.ep-creditwarning {
  display: none;
  background: var(--warning-100);
  border-radius: var(--radius-badge);
  padding: var(--space-3) var(--space-4);
  margin-top: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  color: var(--text-dark2);
}
.ep-creditwarning.is-on { display: block; }

/* ---------- Countdown ---------- */
.ep-countdown {
  padding: 56px 0 var(--space-8);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.ep-countdown__row { display: flex; gap: 28px; justify-content: center; }
.ep-countdown__cell { text-align: center; }
.ep-countdown__value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  line-height: 1;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
}
.ep-countdown__value--accent { color: var(--primary-500); }
.ep-countdown__unit {
  font-family: var(--font-label);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-top: 6px;
}
.ep-countdown__label {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-secondary);
  text-align: center;
  margin: 0;
  text-wrap: pretty;
}

/* ---------- Problem ---------- */
.ep-stack {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}
.ep-callout {
  background: var(--accent-purple-100);
  border-radius: var(--radius-card);
  padding: 28px;
  display: flex;
  gap: var(--space-5);
  align-items: center;
}
.ep-callout__icon {
  flex: 0 0 44px;
  height: 44px;
  border-radius: var(--space-3);
  background: var(--accent-purple-500);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ep-callout__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-lg);
  line-height: var(--leading-normal);
  color: var(--text-primary);
}
.ep-callout__text {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--text-dark2);
  margin: 10px 0 0;
}

/* ---------- Mechanismus ---------- */
.ep-steps {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  list-style: none;
  padding: 0;
  margin: 0;
}
.ep-step {
  background: var(--bg-0);
  border-radius: var(--radius-card);
  padding: var(--space-5);
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.ep-section--light .ep-step { background: var(--bg-0); }
.ep-step__num {
  flex: 0 0 44px;
  height: 44px;
  border-radius: var(--space-3);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ep-step__num--1 { background: var(--accent-purple-500); }
.ep-step__num--2 { background: var(--info-500); }
/* Die drei hellen Kacheln tragen dunkle Ziffern. Weiß auf Amber kam auf 1,63:1,
   auf Limette 1,89:1 und auf Türkis 2,16:1 — deutlich unter den 3:1, die WCAG
   selbst für große, fette Schrift verlangt; die Ziffer war auf Gelb praktisch
   nicht zu lesen. Die Farben der Kacheln bleiben unverändert. */
.ep-step__num--3 { background: #FFC107; color: var(--text-primary); }
.ep-step__num--4 { background: #9BCC3B; color: var(--text-primary); }
.ep-step__num--5 { background: #26C6A6; color: var(--text-primary); }
.ep-step__text {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.55;
  color: var(--text-dark2);
  margin: 0;
}

/* ---------- Einblick: Untertest-Auswahl ---------- */
.ep-tabs__label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin-bottom: 10px;
}
.ep-tabs {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--bg-0);
  display: flex;
  gap: var(--space-2);
  overflow-x: auto;
  padding: var(--space-3) 0;
  margin: 0 -4px;
  scrollbar-width: none;
}
.ep-tabs::-webkit-scrollbar { display: none; }
.ep-tab {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  white-space: nowrap;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  border: 1px solid var(--bg-6);
  background: var(--white);
  color: var(--text-primary);
  transition: background 150ms cubic-bezier(0.22, 1, 0.36, 1),
              border-color 150ms cubic-bezier(0.22, 1, 0.36, 1),
              color 150ms cubic-bezier(0.22, 1, 0.36, 1);
}
.ep-tab[aria-selected="true"] {
  border: 2px solid var(--primary-500);
  background: var(--primary-100);
  /* Der Rahmen bleibt im Markenorange, die Beschriftung wird dunkler:
     --primary-500 auf --primary-100 waren 2,43:1, und die aktive Pille ist
     die wichtigste im Streifen. */
  color: var(--primary-700);
}

/* ---------- Einblick: Phasen der Gedächtnistests ---------- */
.ep-phases {
  display: flex;
  gap: 4px;
  margin-bottom: var(--space-3);
  padding: 4px;
  background: var(--bg-2);
  border-radius: var(--radius-pill);
}
.ep-phase {
  flex: 1 1 0;
  min-height: 40px;
  padding: 8px var(--space-3);
  border: 0;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--text-secondary);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-sm);
  white-space: nowrap;
  cursor: pointer;
  transition: background 150ms var(--ease-out), color 150ms var(--ease-out);
}
.ep-phase:hover { color: var(--text-primary); }
.ep-phase[aria-selected="true"] {
  background: var(--white);
  color: var(--text-primary);
  box-shadow: var(--shadow-card);
}

/* ---------- Einblick: PDF-Viewer ---------- */
.ep-viewer {
  border: 1px solid var(--bg-6);
  background: var(--white);
  border-radius: var(--radius-card);
  overflow: hidden;
}
.ep-viewer__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-3);
  padding: 14px 18px;
  background: var(--bg-0);
  border-bottom: 1px solid var(--bg-3);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--text-secondary);
}
.ep-viewer__count { white-space: nowrap; }
.ep-viewer__stage {
  aspect-ratio: 3 / 4;
  max-height: 520px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  padding: var(--space-5);
  background: var(--bg-1);
}
.ep-viewer__stage img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Kompendium-Seite: A4-Hochformat statt 3:4.
   `width:100%` ist nötig, sonst schrumpft die Box durch aspect-ratio +
   max-height auf Seitenbreite und klebt links am Rand.

   Kein max-height mehr: die Deckelung auf 620 px hat die Seite bei jeder
   Breite über ~440 px auf 438 px Breite zusammengedrückt — auf dem Desktop
   blieben über 800 px Spaltenbreite ungenutzt und der Fliesstext einer
   A4-Seite war nicht mehr lesbar. Die Breite ist durch die Spalte ohnehin
   begrenzt (.ep-wrap max-width 1200px, zweispaltig), die Seite wird also
   höchstens rund 580x820 px gross. */
.ep-viewer__stage--page {
  width: 100%;
  aspect-ratio: 1 / 1.4142;
  /* explizit aufheben: .ep-viewer__stage deckelt sonst auf 520 px */
  max-height: none;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-1);
}
.ep-viewer__stage--page img {
  display: block;
  width: auto;
  max-width: 100%;
  height: 100%;
  /* schon vor dem Laden die richtige Breite, sonst springt die Seite */
  aspect-ratio: 1 / 1.4142;
  object-fit: contain;
  animation: ep-fade-in 240ms var(--ease-out) both;
}
.ep-viewer__ph-label {
  font-family: var(--font-label);
  font-weight: 700;
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-purple-500);
}
.ep-viewer__ph-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-md);
  color: var(--text-primary);
}
.ep-viewer__ph-text {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  color: var(--text-secondary);
  max-width: 36ch;
  margin: 0;
}
.ep-viewer__nav {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) 14px;
  border-top: 1px solid var(--bg-3);
}
.ep-viewer__btn {
  flex: 0 0 44px;
  height: 44px;
  border: 1px solid var(--bg-6);
  background: var(--white);
  border-radius: var(--radius-pill);
  font-size: var(--text-lg);
  line-height: 1;
  cursor: pointer;
  color: var(--text-primary);
}
.ep-viewer__btn:disabled { opacity: 0.4; cursor: default; }
.ep-viewer__dots {
  flex: 1;
  display: flex;
  gap: 6px;
  justify-content: center;
  align-items: center;
}
.ep-viewer__dot {
  height: 6px;
  width: 6px;
  border-radius: 3px;
  display: block;
  background: var(--bg-6);
  transition: width 150ms cubic-bezier(0.22, 1, 0.36, 1);
}
.ep-viewer__dot.is-current { width: 18px; background: var(--primary-500); }

/* Video-Einbettung (Bunny Stream), 16:9, responsiv */
.ep-embed {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
}
.ep-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Stage zeigt statt einer PDF-Seite ein Video */
.ep-viewer__stage--media {
  aspect-ratio: auto;
  max-height: none;
  padding: 0;
  background: var(--dark);
  display: block;
}
.ep-video__stage--media {
  display: block;
  aspect-ratio: auto;
  gap: 0;
}

/* ---------- Einblick: Lösungsvideo ---------- */
.ep-video {
  margin-top: var(--space-4);
  border: 1px solid var(--bg-6);
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--white);
}
.ep-video__stage {
  aspect-ratio: 16 / 9;
  background: var(--dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  position: relative;
}
.ep-video__play {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-pill);
  background: var(--primary-500);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}
.ep-video__hint {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--text-light);
  text-align: center;
  padding: 0 var(--space-5);
  margin: 0;
}
.ep-video__meta { padding: var(--space-4) 18px; }
.ep-video__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-base);
}
.ep-video__sub {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin: 4px 0 0;
}

.ep-cta--after-viewer { margin-top: var(--space-4); }

/* ---------- Paketinhalt ---------- */
.ep-items {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: var(--space-2) var(--space-5);
  box-shadow: var(--shadow-card);
  list-style: none;
  margin: 0;
}
.ep-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-5) 0;
  border-bottom: 1px solid var(--bg-3);
}
.ep-item:last-child { border-bottom: 0; }
/* min-width:0 — ohne das behält der Flex-Eintrag seine Inhaltsbreite (min-width
   ist per Default auto) und lange Posten wie „Eigene Lern-KI zur
   Trainingsoptimierung" schieben die Zeile auf sehr schmalen Displays über den
   Rand hinaus. */
.ep-item__main { display: flex; gap: 14px; align-items: center; min-width: 0; }
.ep-item__img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  flex: 0 0 56px;
}
/* Nur fuer Listen mit querformatigen Produkt-Mockups (Rundum-Sorglos-Paket, bis
   2,7:1). Mit object-fit: contain im 56er-Quadrat bleibt sonst ein flacher
   Streifen, der im Weiss verschwindet; getoente Kachel plus Innenabstand macht
   daraus ein erkennbares Thumbnail. Als Modifier, damit sich das Erfolgs-Paket
   nicht ungefragt mitaendert. */
.ep-items--tiles .ep-item__img {
  padding: 6px;
  box-sizing: border-box;
  background: var(--bg-1);
  border-radius: var(--radius-input);
}
/* Die Wertspalte darf schrumpfen, aber nicht unter ~11 Zeichen: der
   umbrechende Zusatz darunter („nur im Paket erhaeltlich") quetscht sie sonst
   in eine 40px-Spalte, und ohne Deckel schiebt sie die Zeile aus dem Rahmen. */
.ep-items--tiles .ep-item__value {
  flex: 0 1 auto;
  min-width: min(11ch, 30%);
}
.ep-item__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
}
.ep-item__sub {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin: 2px 0 0;
}
.ep-item__value {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--text-secondary);
  white-space: nowrap;
  text-align: right;
}
/* Zusatz unter „Inkl." — Posten ist nicht separat erhältlich */
.ep-item__note {
  display: block;
  margin-top: 2px;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 12px;
  line-height: 1.35;
  color: var(--text-muted);
  /* Das nowrap der Preiszeile darf hier nicht greifen: „nur in Paket
     erhältlich" passt auf schmalen Displays sonst nicht in die Zeile und
     schiebt die ganze Seite auf ~409px Breite. Der Preis selbst bleibt
     einzeilig, weil die Regel nur den Zusatz betrifft. */
  white-space: normal;
}

.ep-sum {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--space-4);
  margin-top: var(--space-5);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-md);
  color: var(--text-secondary);
}
.ep-sum--total {
  margin-top: var(--space-2);
  font-weight: 700;
  font-size: 22px;
  color: var(--primary-500);
}

/* ---------- Beweis ---------- */
.ep-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
}
.ep-stat {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: var(--space-5);
  display: block;
  color: inherit;
  text-decoration: none;
  transition: box-shadow 250ms cubic-bezier(0.22, 1, 0.36, 1);
}
a.ep-stat:hover { box-shadow: 0 8px 24px rgba(0, 0, 0, 0.10); text-decoration: none; }
.ep-stat--wide { grid-column: 1 / -1; }
.ep-stat__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  color: var(--primary-500);
}
.ep-stat__label {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin: 4px 0 0;
}

.ep-reviews__label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin: var(--space-6) 0 14px;
}
.ep-reviews {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ep-review {
  background: var(--white);
  border: 1px solid var(--bg-3);
  border-radius: var(--radius-card);
  padding: var(--space-5);
  box-shadow: var(--shadow-card);
}
.ep-review__stars {
  color: var(--primary-500);
  font-size: 15px;
  letter-spacing: 2px;
}
.ep-review__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 10px 0 var(--space-3);
}
.ep-review__text {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--text-dark2);
  overflow: hidden;
  max-height: 4.8em;
}
.ep-review__text.is-open { max-height: none; }
.ep-review__toggle {
  min-height: 44px;
  margin-top: var(--space-2);
  border: 0;
  background: none;
  padding: 0;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--primary-500);
}
.ep-review__foot {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-3);
  padding-top: var(--space-3);
  border-top: 1px solid var(--bg-3);
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-secondary);
}
/* Eigene Zeile in der Fusszeile, also kein Inline-Link: mindestens 24px
   Trefferflaeche (WCAG 2.5.8) statt der 18px aus der Textzeile. */
/* Steht als eigene Zeile in der Kartenfusszeile, ist also kein Link im
   Fliesstext: mindestens 24px Trefferflaeche (WCAG 2.5.8) statt 18px.
   Die Links in Fusszeile und Google-Hinweis bleiben unangetastet, die
   stehen mitten im Satz und fallen unter die Inline-Ausnahme. */
.ep-review__foot a {
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  min-height: 24px;
}

.ep-reviews__all { margin-top: var(--space-5); }
.ep-reviews__google {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin: 6px 0 0;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--text-secondary);
}
.ep-reviews__google a { margin-left: 5px; }

/* ---------- Person ---------- */
.ep-founder {
  background: var(--white);
  border-radius: var(--radius-card-lg);
  padding: var(--space-6);
  color: var(--text-primary);
  box-shadow: var(--shadow-card);
}
.ep-founder__photo {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-card);
  background: var(--bg-1);
  margin-bottom: var(--space-5);
}
.ep-founder__title { color: var(--text-primary); margin: 0 0 18px; }
.ep-founder__text {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-dark2);
  margin: 0 0 14px;
}
.ep-founder__quote {
  font-family: var(--font-hero);
  font-weight: 500;
  font-size: 17px;
  line-height: var(--leading-relaxed);
  color: var(--primary-500);
  margin: 0;
}

.ep-team__title { font-family: var(--font-display); font-weight: 700; font-size: 22px; margin: var(--space-6) 0 6px; }
.ep-team__sub {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-secondary);
  margin: 0 0 18px;
}
.ep-team {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-4);
  list-style: none;
  padding: 0;
  margin: 0;
}
.ep-team__member { border-radius: var(--radius-card); display: flex; }

/* Auf dem Telefon derselbe waagrechte Streifen wie bei den Set-Karten
   (.ep-sets weiter oben): zwei schmale Spalten untereinander verschenken
   Breite, und vier Portraets in zwei Reihen kosten viel Seitenlaenge.
   Eigener overflow-Container, die Seite selbst scrollt weiterhin nicht
   seitwaerts; die negativen Raender heben die Sektionspolsterung auf, damit
   die Karten am Bildschirmrand anschneiden und sichtbar weitergehen.

   Nicht im no-dialog-Fallback: dort steht die Kurzbiografie im Kaertchen
   statt im Popup, und ein 240px breiter Streifen mit vollem Fliesstext waere
   unbrauchbar - ohne <dialog> bleibt es beim Raster. */
@media (max-width: 999px) {
  html:not(.no-dialog) .ep-team {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    margin-inline: calc(-1 * var(--section-pad));
    padding-inline: var(--section-pad);
    scroll-padding-inline: var(--section-pad);
    padding-bottom: var(--space-3);
    /* Wie bei den Set-Karten: keine Systemleiste. */
    scrollbar-width: none;
  }
  html:not(.no-dialog) .ep-team::-webkit-scrollbar { display: none; }
  html:not(.no-dialog) .ep-team__member {
    flex: 0 0 clamp(190px, 58vw, 240px);
    scroll-snap-align: start;
  }
}
/* Ganze Karte ist der Auslöser fürs Porträt-Popup.
   Flex-Spalte, damit das Badge unten bündig steht und alle
   Karten einer Reihe gleich hoch sind. */
.ep-team__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  background: var(--bg-0);
  border: 0;
  border-radius: var(--radius-card);
  padding: var(--space-5) var(--space-4) var(--space-5);
  text-align: center;
  font: inherit;
  color: inherit;
  cursor: pointer;
  transition: background 200ms var(--ease-out), box-shadow 200ms var(--ease-out);
}
.ep-team__card:hover {
  background: var(--bg-1);
  box-shadow: var(--shadow-card);
}
.ep-team__card:active { transform: scale(0.99); }

/* Steht nur für Suchmaschinen und den JS-losen Fall im Dokument */
.js .ep-team__bio { display: none; }
.no-dialog .ep-team__bio { display: block; }
.no-dialog .ep-team__card { cursor: default; }
.ep-team__bio {
  margin-top: var(--space-3);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  line-height: 1.6;
  color: var(--text-dark2);
}

/* ---------- Popup: Team-Porträt ---------- */
.ep-teamdialog {
  border: 0;
  padding: 0;
  background: transparent;
  width: min(520px, calc(100vw - 32px));
  max-height: 86vh;
  margin: auto;
}
.ep-teamdialog::backdrop { background: rgba(25, 15, 35, 0.55); }
.ep-teamdialog__panel {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-card-lg);
  padding: var(--space-6);
  max-height: 86vh;
  overflow: auto;
  text-align: center;
}
.ep-teamdialog__close {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  width: 44px;
  height: 44px;
  border: 0;
  background: none;
  font-size: var(--text-xl);
  line-height: 1;
  cursor: pointer;
  color: var(--text-secondary);
}
.ep-teamdialog__photo {
  width: 120px;
  height: 120px;
  border-radius: var(--radius-pill);
  object-fit: cover;
  background: var(--bg-3);
  margin: var(--space-2) auto var(--space-4);
  display: block;
}
.ep-teamdialog__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-xl);
  color: var(--text-primary);
  margin: 0;
}
.ep-teamdialog__role {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin: 4px 0 0;
}
.ep-teamdialog__pr {
  display: inline-block;
  margin: var(--space-3) 0 0;
  padding: 6px var(--space-3);
  border-radius: var(--radius-badge);
  background: var(--primary-100);
  color: var(--primary-500);
  font-family: var(--font-label);
  font-weight: 700;
  font-size: var(--text-xs);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.ep-teamdialog__bio {
  margin: var(--space-5) 0 0;
  padding-top: var(--space-5);
  border-top: 1px solid var(--bg-3);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--text-dark2);
  text-align: left;
}
.ep-team__avatar {
  display: block;
  width: 96px;
  height: 96px;
  border-radius: var(--radius-pill);
  background: var(--bg-3);
  margin: 0 auto var(--space-4);
  object-fit: cover;
}
.ep-team__name {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-base);
}
.ep-team__role {
  display: block;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-secondary);
  margin: 4px 0 var(--space-4);
  line-height: 1.45;
}
/* Auszeichnung als Pill, sitzt bündig am Kartenfuß.
   `margin-top: auto` schiebt sie nach unten, den Mindestabstand
   liefert der margin-bottom der Rolle darüber. */
.ep-team__badge {
  margin-top: auto;
  padding: 5px 11px;
  border-radius: var(--radius-badge);
  background: var(--primary-100);
  color: var(--primary-500);
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ---------- Preis-Sektion ---------- */
.ep-offer {
  width: 100%;
  max-width: 600px;
  background: var(--white);
  border-radius: var(--radius-card-lg);
  padding: 28px;
}
.ep-offer__img {
  width: 100%;
  height: auto;
  aspect-ratio: 2560 / 1013;
  object-fit: cover;
  border-radius: var(--radius-card);
  background: var(--bg-1);
  display: block;
  margin-bottom: var(--space-5);
}
.ep-offer__compare { font-family: var(--font-body); font-size: var(--text-sm); color: var(--text-secondary); margin: 0; }
.ep-offer__price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 44px;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--primary-500);
  margin: 6px 0 4px;
}
.ep-offer__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}
.ep-offer__li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: var(--leading-relaxed);
}
.ep-offer__li svg { flex: 0 0 24px; margin-top: 2px; }
.ep-offer__note {
  padding: 14px 0 0;
  margin: 6px 0 0;
  text-align: center;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  line-height: 1.6;
  color: var(--text-secondary);
}

/* ---------- FAQ ---------- */
.ep-faq { display: flex; flex-direction: column; gap: 10px; }
.ep-faq__item {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: var(--space-5) var(--space-5);
}
.ep-faq__item > summary { list-style: none; cursor: pointer; }
.ep-faq__item > summary::-webkit-details-marker { display: none; }
.ep-faq__q {
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  align-items: center;
  min-height: 44px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
}
.ep-faq__sign { color: var(--primary-500); font-size: var(--text-lg); line-height: 1; }
.ep-faq__sign::after { content: "+"; }
.ep-faq__a {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--text-dark2);
  margin: 10px 0 0;
}

/* ---------- Fallback ---------- */
.ep-fallback {
  width: 100%;
  max-width: 760px;
  background: var(--accent-purple-100);
  border-radius: var(--radius-card-lg);
  padding: var(--space-8) var(--space-6);
}
.ep-fallback__text {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-dark2);
  margin: 0 0 var(--space-5);
  max-width: 56ch;
}

/* ---------- Footer ----------
   The page uses the site footer (sections/footer.blade.php). Its rules are
   hand-translated from base.css (footer section, .container, .btn) because
   this page deliberately does not load the site bundle — see the header
   comment. When the site footer's design changes in base.css, this block has
   to follow. */

/* ---------- Sticky CTA ---------- */
.ep-sticky {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 40;
  background: var(--bg-1);
  padding: var(--space-3) var(--space-5);
  padding-bottom: calc(var(--space-3) + env(safe-area-inset-bottom, 0px));
  display: flex;
  justify-content: center;
  transition: transform 250ms cubic-bezier(0.22, 1, 0.36, 1),
              opacity 250ms cubic-bezier(0.22, 1, 0.36, 1);
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
}
.ep-sticky.is-visible { transform: translateY(0); opacity: 1; pointer-events: auto; }
.ep-sticky__inner {
  width: 100%;
  max-width: 1200px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}
.ep-sticky__info {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px var(--space-4);
}
.ep-sticky__name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--text-base);
  color: var(--text-secondary);
}
.ep-sticky__price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
  line-height: 1.15;
  color: var(--text-primary);
}
.ep-sticky__rate { font-family: var(--font-body); font-size: 13px; color: var(--text-secondary); }
.ep-sticky__btn {
  width: auto;
  min-height: 44px;
  padding: 13px var(--space-5);
  font-size: 15px;
  white-space: nowrap;
}

/* ---------- Modal: alle Bewertungen ---------- */
/* Auf dem Telefon ein Bottom Sheet: unten bündig, nur oben abgerundet, der
   Daumen erreicht Schließen und Buttons. Ab Tablet-Breite wird daraus ein
   normaler, mittig stehender Dialog — am Desktop klebt ein Sheet sonst ohne
   Grund am unteren Rand (siehe .ep-modal--centered unten). */
.ep-modal {
  border: 0;
  padding: 0;
  background: transparent;
  width: 100%;
  max-width: 640px;
  max-height: 86vh;
  margin: auto auto 0;
}
.ep-modal::backdrop { background: rgba(25, 15, 35, 0.55); }
.ep-modal__panel {
  background: var(--white);
  width: 100%;
  max-height: 86vh;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-card-lg) var(--radius-card-lg) 0 0;
  overflow: hidden;
}
@media (min-width: 600px) {
  .ep-modal { margin: auto; }
  .ep-modal__panel { border-radius: var(--radius-card-lg); }
}

.ep-modal__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-3);
  padding: 18px 22px;
  border-bottom: 1px solid var(--bg-3);
}
.ep-modal__title { font-family: var(--font-display); font-weight: 700; font-size: 17px; margin: 0; }
.ep-modal__close {
  width: 44px; height: 44px;
  border: 0;
  background: none;
  font-size: var(--text-xl);
  cursor: pointer;
  color: var(--text-secondary);
}
.ep-modal__body { overflow: auto; padding: 18px 22px 28px; -webkit-overflow-scrolling: touch; }
.ep-modal__filter {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin: 0 0 14px;
}
.ep-modal__filter strong { color: var(--text-primary); }

/* Die Filter waren im Entwurf reiner Text. Jetzt sind es Schaltflächen, die
   aber wie Text aussehen sollen — Trefferfläche 24px (WCAG 2.5.8), der aktive
   Filter trägt die Auszeichnung, die vorher fest auf „Neueste" stand. */
.ep-modal__filter-btn {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  font: inherit;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--bg-6);
}
.ep-modal__filter-btn:hover { text-decoration-color: currentColor; }
.ep-modal__filter-btn.is-active {
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
}

.ep-modal__more {
  width: 100%;
  margin-top: var(--space-4);
}
.ep-modal__list { display: flex; flex-direction: column; gap: 14px; }
.ep-modal__review { border-bottom: 1px solid var(--bg-3); padding-bottom: 14px; }
.ep-modal__review:last-child { border-bottom: 0; padding-bottom: 0; }
.ep-modal__review-title { font-family: var(--font-display); font-weight: 700; font-size: var(--text-base); }
.ep-modal__review-text {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-dark2);
  margin: 6px 0 0;
}
.ep-modal__review-meta {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-secondary);
  margin: 6px 0 0;
}
.ep-modal__foot { border-top: 1px solid var(--bg-3); padding: var(--space-4) 22px; }
.ep-modal__foot .ep-btn { min-height: 44px; padding: 13px var(--space-5); font-size: 15px; }
.ep-modal__foot p {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-secondary);
  text-align: center;
  margin: var(--space-2) 0 0;
}

/* ---------- Kleine Viewports ---------- */
/* Ratenzeile passt neben Preis + Button erst ab ~600px in eine Zeile.
   Darunter fliegt sie raus, sonst wird die Leiste dreizeilig. */
@media (max-width: 599px) {
  .ep-sticky__rate { display: none; }
  .ep-sticky__inner { gap: var(--space-3); }
  .ep-sticky__price { font-size: 22px; }
}

/* Unter ~440px passen keine vier Ratenkacheln nebeneinander — sonst
   stehen drei in einer Reihe und die vierte allein darunter. */
@media (max-width: 440px) {
  .ep-rates__grid { grid-template-columns: repeat(2, 1fr); }
}

/* Mobil sitzen Icon und Überschrift in einer Zeile, der Fließtext
   darunter über die volle Breite. `display: contents` löst den Wrapper
   auf, damit Titel und Text eigene Grid-Items werden. */
@media (max-width: 560px) {
  /* Team als 2×2 statt einer langen Spalte */
  .ep-team { grid-template-columns: repeat(2, 1fr); gap: var(--space-3); }
  .ep-team__card { padding: var(--space-5) var(--space-3); }
  .ep-team__avatar { width: 72px; height: 72px; margin-bottom: var(--space-3); }
  .ep-team__role { font-size: 12px; margin-bottom: var(--space-3); }
  .ep-team__badge { font-size: 10px; padding: 4px 9px; white-space: normal; }

  .ep-callout {
    display: grid;
    grid-template-columns: 44px 1fr;
    column-gap: 14px;
    row-gap: 12px;
    align-items: start;
    padding: var(--space-5);
  }
  .ep-callout > div { display: contents; }
  .ep-callout__icon { grid-area: 1 / 1; }
  .ep-callout__title { grid-area: 1 / 2; font-size: var(--text-md); }
  .ep-callout__text { grid-area: 2 / 1 / 3 / -1; margin: 0; }
}

@media (max-width: 420px) {
  .ep-countdown__row { gap: 18px; }
  .ep-section { --section-pad: var(--space-4); padding: var(--space-10) var(--section-pad); }
  /* Steht nach .ep-section--last und wuerde dessen Abstand sonst
     ueberschreiben — die Sticky-Leiste laege wieder auf dem Inhalt. */
  .ep-section--last { padding-bottom: calc(var(--space-10) + 72px + env(safe-area-inset-bottom, 0px)); }
  .ep-section--hero { padding: var(--space-8) var(--section-pad) var(--space-10); }
}

/* ---------- Reduzierte Bewegung ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  /* Reveal-Startzustand aufheben — das JS überspringt hier das Einblenden */
  .js :is(
    .ep-hero__meta, .ep-h1, .ep-lead, .ep-hero__img,
    .ep-pricecard, [data-hero-cta], .ep-cta--secondary, .ep-note, .ep-countdown,
    .ep-eyebrow, .ep-h2, .ep-stack > *, .ep-quote,
    .ep-step, .ep-tabs__label, .ep-viewer, .ep-video,
    .ep-cta--after-viewer, .ep-viewernote, .ep-items, .ep-sum, .ep-fineprint,
    .ep-stats > *, .ep-reviews__label, .ep-review,
    .ep-source, .ep-reviews__all, .ep-reviews__google,
    .ep-founder, .ep-team__title, .ep-team__sub, .ep-team__member,
    .ep-offer, .ep-faq__item, .ep-fallback
  ) {
    opacity: 1;
    transform: none;
  }
  .ep-btn:active, .ep-tab:active, .ep-viewer__btn:not(:disabled):active { transform: none; }
}

/* ---------- Druck ---------- */
@media print {
  .ep-sticky, .ep-skip, .ep-tabs { display: none !important; }
  .ep-section { padding: 24px 0; }
}

/* ============================================================
   Begleitspalte zum Blätterer und die Set-Tabelle

   Nur die Trainingsbücher-Seite nutzt diese Blöcke: neben dem
   Blätterer steht dort eine Notizspalte, und der Paketinhalt
   zählt die Übungssets je Untertest in einer Tabelle auf.
   Unveraendert aus dem Design-Export uebernommen.
   ============================================================ */
/* Nur ab der zweispaltigen Breite: dort steht die Notizspalte neben dem
   Blaetterer und braucht oben buendig keinen Abstand. Ungeschuetzt galt
   margin-top: 0 auch auf dem Handy, wo die Spalte unter den Blaetterer
   rutscht - die beiden Karten klebten dort aneinander. Die Breite ist
   dieselbe wie beim Grid weiter oben in dieser Datei. */
@media (min-width: 1000px) {
  .ep-wrap--einblick > .ep-vieweraside { grid-column: 2; align-self: start; }
  .ep-wrap--einblick > .ep-vieweraside .ep-viewernote { margin-top: 0; }
}

/* Zwei gleichfarbige Sektionen hintereinander: ohne Farbwechsel addieren
   sich die beiden Innenabstaende zu einer doppelt so hohen Luecke, die wie
   ein Fehler aussieht statt wie ein Schnitt. Wo die Farbe wechselt, traegt
   der Wechsel selbst die doppelte Hoehe - deshalb bleiben jene Uebergaenge
   unangetastet.

   Gilt fuer alle Landingpages, die dieses Stylesheet nutzen: jede hat
   mindestens eine solche Stelle. */
.ep-section--light + .ep-section--light,
.ep-section--tint + .ep-section--tint {
  padding-top: 0;
}

.ep-viewernote {
  margin-top: var(--space-5);
  padding: var(--space-5);
  border: 1px solid var(--bg-3);
  border-radius: var(--radius-card);
  background: var(--white);
}
.ep-viewernote__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-lg);
  line-height: 1.25;
  margin: 0 0 var(--space-3);
  color: var(--text-primary);
}
.ep-viewernote__text {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.55;
  margin: 0 0 var(--space-4);
  color: var(--text-dark2);
}
.ep-viewernote__list {
  list-style: none;
  margin: 0 0 var(--space-4);
  padding: 0;
  display: grid;
  gap: 10px;
}
.ep-viewernote__list li {
  position: relative;
  padding-left: 22px;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  line-height: 1.5;
  color: var(--text-dark2);
}
.ep-viewernote__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--primary-500);
}
.ep-viewernote__hint {
  margin: 0;
  padding-top: var(--space-4);
  border-top: 1px solid var(--bg-3);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  line-height: 1.5;
  color: var(--text-secondary);
}

.ep-table__row--total td {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text-primary);
  background: var(--bg-1);
}

/* ============================================================
   Hochformatiges Produktfoto

   Die Geschwisterseiten zeigen ein breites Banner und rahmen es mit
   aspect-ratio: 2560/1013 und object-fit: cover. Die Trainingsbuecher-Seite
   zeigt stattdessen den Buecherstapel, 1600x1345 und damit fast quadratisch:
   im breiten Rahmen schneidet cover ihn mittig auf, oben und unten fehlt das
   halbe Motiv. Ratio und contain kommen aus dem Design-Export.

   Zwei Klassen im Selektor, damit die Regel auch die Desktop-Variante
   (.ep-wrap--hero > .ep-hero__img) schlaegt, ohne deren Sticky-Verhalten
   anzufassen.
   ============================================================ */
.ep-hero__img.ep-hero__img--tall,
.ep-offer__img.ep-offer__img--tall {
  aspect-ratio: 2160 / 1816;
  object-fit: contain;
}

/* ============================================================
   Aktionspreis: Leiste oben und die Kennzeichnung auf den
   Preiskarten. Erscheint nur, wenn der Composer eine Ersparnis
   groesser null liefert - ohne Aktion bleibt alles wie gehabt.
   ============================================================ */
.ep-topbar--promo {
  background: var(--bg-dark2);
  border-bottom: 0;
  padding-block: 8px;
  /* Aktionszeile und Zaehler in einer Reihe wie im Entwurf; eng wird
     umgebrochen, statt die Zeile zu stauchen. */
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2px 20px;
}
/* Beide Haelften stehen im Flex-Container nebeneinander, also darf keine
   mehr die volle Zeilenbreite beanspruchen - sonst klafft dazwischen die
   Luecke, die die 1200px-Begrenzung erzeugt. */
.ep-topbar--promo .ep-topbar__promo,
.ep-topbar--promo .ep-topbar__inner {
  max-width: none;
  margin-inline: 0;
  width: auto;
  flex: 0 1 auto;
}
.ep-topbar--promo .ep-topbar__promo { margin-bottom: 0; }

/* Trennstrich zwischen Aktionszeile und Zaehler. Verschwindet mit dem
   Umbruch: untereinander trennt die Zeile schon. */
.ep-topbar--promo .ep-topbar__inner::before {
  content: "|";
  color: var(--text-light);
  opacity: 0.5;
  margin-right: 14px;
}
@media (max-width: 719px) {
  .ep-topbar--promo .ep-topbar__inner::before { content: none; }
}

/* Zaehler auf dunklem Grund: die Violett-Ziffern der hellen Leiste sind
   hier kaum zu lesen. */
.ep-topbar--promo .ep-topbar__value { color: var(--bg-white); }
.ep-topbar--promo .ep-topbar__unit { color: var(--text-light); }
.ep-topbar--promo .ep-topbar__inner,
.ep-topbar--promo .ep-topbar__label { color: var(--bg-white); }
.ep-topbar__promo {
  max-width: 1200px;
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 10px;
  margin-bottom: 4px;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--bg-white);
}
.ep-topbar__flag {
  background: var(--primary-500);
  color: var(--bg-white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  padding: 3px 10px;
  white-space: nowrap;
}
.ep-topbar__offer strong { color: var(--primary-400); font-weight: 700; }
.ep-topbar__offer s { color: var(--text-light); }

/* Die Fahne sitzt auf der Kartenkante, deshalb deckt sie den Rand ab,
   statt ihn zu unterbrechen. */
.ep-pricecard--promo { position: relative; padding-top: 28px; }
.ep-pricecard__flag {
  position: absolute;
  top: 0;
  left: var(--space-5);
  transform: translateY(-50%);
  background: var(--primary-500);
  color: var(--bg-white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  padding: 4px 12px;
  white-space: nowrap;
}
.ep-price__percent {
  align-self: center;
  background: var(--text-primary);
  color: var(--bg-white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-sm);
  line-height: 1.2;
  border-radius: var(--radius-badge);
  padding: 4px 10px;
  white-space: nowrap;
}

/* The company line: a paragraph, not a heading (the footer is no section of the page). Same look as the h4 was. */
.footer-block .contact-detail .contact-company {
  font-family: Outfit, sans-serif;
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 600;
  color: #190f23;
  margin: 0 0 4px;
}
