/*
 * Landingpage "Aufnahmetest Pilsen in Regensburg" (Praefix pa-),
 * /pilsen-aufnahmetest-regensburg-dezember/ und deren Unterseite danke/.
 *
 * Uebernommen aus Lorenz' Uebergabe-ZIP (TB-1486, Stand 23.11.2026),
 * assets/pilsen.css 1:1 plus die Inline-Stile der Danke-Seite unten.
 * Abweichungen: der gemeinsame Site-Footer statt des eigenen, und Tokens und Schriften kommen aus den geteilten
 * Theme-Dateien statt aus _ds/colors_and_type.css. Die Tokens sind
 * identisch, nur laedt _ds die Schriften per @import von Google Fonts;
 * hier sind Outfit und Nunito selbst gehostet (fonts.css).
 */
/* Icon-Font fuer die Social-Icons des Site-Footers. */
/* ./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";
}
/* ./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;
}

/* ./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%; }
}


/* ============================================================
   Landingpage „Aufnahmetest Pilsen in Regensburg"
   (/pilsen-aufnahmetest-regensburg-dezember/)
   Seiten-Stylesheet, Präfix pa-.

   Optik nach dem Live-Auftritt tmsbuddies.de (gemessen 23.11.2026):
   Container 1232 px, Sektionen 120 px (64 px unter 768) im Wechsel
   #F5F6FA / Weiß, Überschriften linksbündig ohne Eyebrow, H1 56 / H2 48
   (Outfit 700, Zeilenhöhe 1,2), Fließtext Nunito 18 in Tinte, Knöpfe
   Outfit 500 / 54 px / Pille mit 1-px-Rand, Karten weiß mit 32 px Radius,
   24 px Innenabstand und weichem Schatten. Quiz nach der Lernplattform:
   Pillen-Optionen auf #EAEFF7 mit dunklem Buchstabenkreis.
   Tokens aus dem Design System (colors_and_type.css).
   ============================================================ */

:root {
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --duration-fast: 150ms; --duration-base: 200ms; --duration-slow: 300ms; --duration-slower: 500ms;
  --reveal-duration: var(--duration-slower);

  --container: 1232px;
  --gutter: var(--space-4);
  --section-y: 120px;

  /* Karten wie auf tmsbuddies.de */
  --card-radius: var(--radius-card-lg);
  --card-pad: var(--space-5);
  --shadow-live: 0 2px 16px 4px rgba(0, 0, 0, 0.04);
  --shadow-overlay: 0 16px 32px rgba(0, 0, 0, 0.12);

  /* Rahmen an Bedienelementen, 3,7:1 auf Weiß */
  --border-control: #82858A;
  /* Antwortfläche im Quiz (Lernplattform) */
  --option-bg: var(--bg-4);
  --success-fg: #185B00;
  --success-bg: #CCF1CE;
  --error-fg: #690600;
  --error-bg: #F5D8D6;
  --error-border: #E7000B;

  --text-body-lg: clamp(16px, 0.93rem + 0.34vw, 18px);
}
@media (max-width: 767px) {
  /* Etwas kürzeres Einblenden auf dem Telefon (Desktop 500 ms) */
  :root { --section-y: 64px; --card-radius: var(--radius-card); --reveal-duration: 400ms; }
}

/* ---------- Reset / Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: var(--text-body-lg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: var(--text-primary); }
:focus-visible { outline: 3px solid var(--accent-purple-500); outline-offset: 2px; border-radius: 4px; }

.pa-skip {
  position: absolute; left: var(--space-3); top: -100px; z-index: 100;
  background: var(--white); color: var(--text-primary);
  font-family: var(--font-display); font-weight: 500;
  padding: var(--space-3) var(--space-5); border-radius: var(--radius-pill); box-shadow: var(--shadow-card);
}
.pa-skip:focus { top: var(--space-3); }

#voranmelden, #kosten, #erfahrungen, #fakten, #pruefung, #beispielfragen, #vorteile, #ablauf, #faq { scroll-margin-top: var(--space-5); }

/* ============================================================
   REVEAL
   Liste deckungsgleich halten mit dem prefers-reduced-motion-Block
   am Ende und SELECTORS in pilsen.js. Hero steht ab dem ersten Paint.
   ============================================================ */
.js :is(
  .pa-promo, .pa-tuition, .pa-head, .pa-video, .pa-answer, .pa-fact,
  .pa-exam__part, .pa-quiz, .pa-benefit, .pa-gallery > figure, .pa-phase,
  .pa-faq__item, .pa-final__intro, .pa-formcard
) { opacity: 0; transform: translateY(24px); }
.js .pa-reveal {
  transition: opacity var(--reveal-duration) var(--ease-out), transform var(--reveal-duration) var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}
.js .pa-reveal.is-in { opacity: 1; transform: none; }

/* ============================================================
   LAYOUT
   ============================================================ */
.pa-section {
  padding: var(--section-y) var(--gutter);
  display: flex; justify-content: center;
}
.pa-section--light { background: var(--white); }
.pa-section--tint  { background: var(--bg-0); }
/* Prüfung und Beispielfragen bilden eine Fläche */
.pa-section--join  { padding-bottom: 0; }
.pa-section--join + .pa-section { padding-top: var(--space-10); }

/* Alle Inhalte auf derselben linken Kante wie auf tmsbuddies.de */
.pa-wrap { width: 100%; max-width: calc(var(--container) - 2 * var(--gutter)); }

.pa-head { margin-bottom: var(--space-9); }
.pa-head .pa-h2 { margin-bottom: var(--space-4); }
.pa-head .pa-h2:last-child { margin-bottom: 0; }
.pa-center { display: flex; flex-direction: column; align-items: flex-start; }

/* ---------- Typografie ---------- */
.pa-h1 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(36px, 1.5rem + 3.05vw, 56px); line-height: 1.2;
  letter-spacing: normal; color: var(--text-primary);
  margin-bottom: var(--space-4);
}
.pa-accent { color: var(--primary-500); }
.pa-h2 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(28px, 1rem + 2.6vw, 48px); line-height: 1.2;
  letter-spacing: normal; color: var(--text-primary);
  margin-bottom: var(--space-5);
}
.pa-h3 {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(20px, 1.09rem + 0.68vw, 24px); line-height: 1.3;
  color: var(--text-primary);
  margin-bottom: var(--space-2);
}
.pa-prose, .pa-lead { font-size: var(--text-body-lg); line-height: 1.5; color: var(--text-primary); max-width: 68ch; }
.pa-lead { margin-bottom: var(--space-6); }

/* ---------- Knöpfe (wie .btn auf tmsbuddies.de) ---------- */
.pa-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: 54px; padding: var(--space-3) var(--space-5);
  border: 1px solid transparent; border-radius: var(--radius-pill);
  font-family: var(--font-display); font-weight: 500; font-size: var(--text-md); line-height: 1.2;
  text-align: center; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color var(--duration-fast) var(--ease-out), border-color var(--duration-fast) var(--ease-out), color var(--duration-fast) var(--ease-out);
}
.pa-btn--primary { background: var(--primary-500); border-color: var(--primary-500); color: var(--white); }
.pa-btn--primary:hover { background: var(--primary-450); border-color: var(--primary-450); }
.pa-btn--primary:active { background: var(--primary-550); border-color: var(--primary-550); }
.pa-btn--secondary { background: transparent; border-color: var(--text-primary); color: var(--text-primary); }
.pa-btn--secondary:hover { background: var(--white); }
.pa-btn--auto { width: auto; }

/* Zahl im dunklen Kreis: Quiz-Buchstaben, Vorteile, Ablauf */
.pa-num {
  flex: 0 0 auto; width: 32px; height: 32px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--bg-dark2); color: var(--white);
  font-family: var(--font-display); font-weight: 600; font-size: var(--text-sm); line-height: 1;
  text-transform: uppercase;
}

/* ---------- Karten ---------- */
.pa-card,
.pa-section--tint :is(.pa-video, .pa-q, .pa-exam__part, .pa-phase, .pa-formcard) {
  background: var(--white); border-radius: var(--card-radius); box-shadow: var(--shadow-live);
}
.pa-section--light :is(.pa-tuition, .pa-answer, .pa-facts, .pa-benefit, .pa-faq__item) {
  background: var(--bg-0); border-radius: var(--card-radius);
}

/* ============================================================
   KOPFZEILE UND AKTIONSLEISTE
   ============================================================ */
.pa-header {
  position: relative; z-index: 2;
  background: var(--white); box-shadow: 0 0 16px rgba(0, 0, 0, 0.08);
  padding: var(--space-4) var(--gutter);
  display: flex; justify-content: center;
}
.pa-header__inner {
  width: 100%; max-width: calc(var(--container) - 2 * var(--gutter));
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-4);
}
.pa-header__brand { display: flex; align-items: center; gap: var(--space-3); min-width: 0; }
.pa-header__home { display: flex; flex: 0 0 auto; }
.pa-header__logo { height: 32px; width: auto; flex: 0 0 auto; }
.pa-header__x { font-family: var(--font-display); font-size: var(--text-lg); color: var(--text-secondary); }
.pa-header__partner { display: flex; align-items: center; min-height: 32px; }
.pa-header__partner img { height: 22px; width: auto; }
.pa-header__cta {
  display: inline-flex; align-items: center; min-height: 44px;
  padding: var(--space-2) var(--space-5);
  border: 1px solid var(--text-primary); border-radius: var(--radius-pill);
  font-family: var(--font-display); font-weight: 500; font-size: var(--text-md);
  color: var(--text-primary); text-decoration: none; white-space: nowrap;
  transition: background-color var(--duration-fast) var(--ease-out);
}
.pa-header__cta:hover { background: var(--bg-0); }

/* Helle Leiste unter dem Kopf, wie die Aktionsleiste auf tmsbuddies.de */
.pa-topbar { background: var(--bg-4); padding: var(--space-2) var(--gutter); }
.pa-topbar__inner { max-width: 1200px; margin-inline: auto; text-align: center; font-size: var(--text-sm); line-height: 1.45; color: var(--text-primary); }
.pa-topbar__inner strong { font-weight: 700; }

/* ============================================================
   §1 HERO
   ============================================================ */
.pa-hero {
  width: 100%; max-width: calc(var(--container) - 2 * var(--gutter));
  display: grid; grid-template-columns: minmax(0, 1fr);
  gap: var(--space-9); align-items: center;
}
@media (min-width: 992px) {
  .pa-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-10); }
}
.pa-origin {
  display: flex; align-items: center; gap: var(--space-2);
  font-size: var(--text-base); font-weight: 600; color: var(--text-secondary);
  margin-bottom: var(--space-4);
}
.pa-origin img { width: 20px; height: 20px; flex: 0 0 20px; }

/* Eckdaten: festes 2er-Raster, Werte dürfen umbrechen */
.pa-keyfacts {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3);
  margin-bottom: var(--space-6);
}
.pa-keyfact {
  background: var(--white); border-radius: var(--radius-badge); box-shadow: var(--shadow-live);
  padding: var(--space-3) var(--space-4);
  min-width: 0;
}
.pa-keyfact dt { font-size: var(--text-sm); color: var(--text-secondary); line-height: 1.45; }
.pa-keyfact dd { font-family: var(--font-display); font-weight: 600; font-size: var(--text-lg); line-height: 1.3; color: var(--text-primary); overflow-wrap: break-word; }

.pa-bullets { display: grid; gap: var(--space-2); margin-bottom: var(--space-6); }
/* Haken wie die .check-list der Produktseiten (base.css): 24-px-Kachel in
   Hellviolett (#E6EAFF, --color-purple-300 im Theme), Radius 8 px, Haken
   aus der Icon-Schrift siteicon (\e90f, 20 px). Die Kachel sitzt mittig
   zur ersten Textzeile. */
.pa-bullets li, .pa-final__list li {
  position: relative; padding-left: 32px;
  font-size: var(--text-body-lg); line-height: 1.5; color: var(--text-primary);
}
.pa-bullets li::before, .pa-final__list li::before {
  content: "\e90f"; position: absolute; left: 0; top: calc((1.5em - 24px) / 2);
  width: 24px; height: 24px; border-radius: 8px;
  background: #E6EAFF; color: var(--text-primary);
  font-family: 'siteicon' !important; font-size: 20px; line-height: 24px; text-align: center;
  font-style: normal; font-weight: normal; speak: never;
  -webkit-font-smoothing: antialiased;
}

.pa-hero__cta { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-bottom: var(--space-4); }
.pa-micro { font-size: var(--text-sm); color: var(--text-secondary); margin-bottom: var(--space-2); }
.pa-coop { font-size: var(--text-sm); line-height: 1.5; color: var(--text-secondary); }
.pa-coop a { color: var(--text-primary); font-weight: 700; text-underline-offset: 3px; }
.pa-coop strong { color: var(--text-primary); }

.pa-hero__media {
  border-radius: var(--card-radius); overflow: hidden; background: var(--bg-3);
  aspect-ratio: 4 / 3;
}
@media (min-width: 992px) { .pa-hero__media { aspect-ratio: 5 / 6; } }
.pa-hero__media img { width: 100%; height: 100%; object-fit: cover; }

/* ============================================================
   §2 KOSTEN
   Aktion als dunkle Hervorhebungskarte (wie die mittlere Paketkarte
   im Shop), Studiengebühr als getönte Karte daneben.
   ============================================================ */
.pa-costs {
  width: 100%; max-width: calc(var(--container) - 2 * var(--gutter));
  display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-5);
}
@media (min-width: 992px) { .pa-costs { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); } }
.pa-promo, .pa-tuition {
  border-radius: var(--card-radius); padding: var(--space-6);
  display: flex; flex-direction: column; gap: var(--space-4);
}
.pa-promo { background: var(--bg-dark2); color: var(--white); }
.pa-promo__label, .pa-tuition__label { font-size: var(--text-base); font-weight: 700; }
.pa-promo__label { color: var(--primary-500); }
.pa-tuition__label { color: var(--text-secondary); }
.pa-promo__title, .pa-tuition__title { font-family: var(--font-display); font-weight: 700; line-height: 1.1; }
.pa-promo__title { color: var(--white); }
.pa-promo__num { display: block; font-size: var(--text-hero); color: var(--primary-500); }
.pa-promo__what { display: block; margin-top: var(--space-1); font-size: clamp(28px, 1rem + 2.6vw, 40px); }
.pa-promo__text { color: var(--text-light); max-width: 34em; }
.pa-promo__text strong { color: var(--white); }
.pa-promo__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); margin-top: var(--space-2); }

/* Gutscheincode als Pille mit Kopierknopf */
.pa-code {
  display: inline-flex; align-items: center; gap: var(--space-1);
  min-height: 54px; padding: var(--space-1) var(--space-1) var(--space-1) var(--space-5);
  border-radius: var(--radius-pill); background: rgba(255, 255, 255, 0.1);
}
.pa-code__value { font-family: var(--font-display); font-weight: 700; font-size: var(--text-md); letter-spacing: 0.08em; color: var(--white); user-select: all; margin-right: var(--space-2); }
.pa-code__copy {
  display: inline-flex; align-items: center; gap: var(--space-2);
  min-height: 44px; padding: 0 var(--space-4);
  border: 0; border-radius: var(--radius-pill); background: var(--white); color: var(--text-primary);
  font-family: var(--font-display); font-weight: 500; font-size: var(--text-base); cursor: pointer;
  transition: background-color var(--duration-fast) var(--ease-out);
}
.pa-code__copy:hover { background: var(--bg-4); }
.pa-code--light { background: var(--bg-4); }
.pa-code--light .pa-code__value { color: var(--text-primary); }
.pa-code--light .pa-code__copy { background: var(--bg-dark2); color: var(--white); }

.pa-tuition__num { display: block; font-size: clamp(40px, 1.5rem + 3vw, 56px); }
.pa-tuition__unit { display: block; margin-top: var(--space-1); font-size: var(--text-xl); font-weight: 600; color: var(--text-secondary); }
.pa-tuition__note { margin-top: auto; padding-top: var(--space-4); border-top: 1px solid var(--bg-6); font-size: var(--text-sm); color: var(--text-secondary); }

/* ============================================================
   §3 STIMMEN
   ============================================================ */
.pa-videos {
  display: flex; gap: var(--space-5);
  overflow-x: auto; scroll-snap-type: x mandatory;
  margin-inline: calc(var(--gutter) * -1); padding: var(--space-2) var(--gutter) var(--space-5);
  /* Ohne scroll-padding rastet Safari die Karte an der Kante des
     Scrollbereichs ein, nicht an der Innenkante: die erste Karte klebte
     am linken Bildschirmrand. */
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
}.pa-videos::-webkit-scrollbar { display: none; }
@media (min-width: 768px) {
  .pa-videos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; margin: 0; padding: 0; }
}
.pa-video { flex: 0 0 85%; scroll-snap-align: start; overflow: hidden; display: flex; flex-direction: column; }
.pa-video__frame { position: relative; aspect-ratio: 16 / 9; background: var(--bg-dark2); }
.pa-video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.pa-video__play { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: pointer; }
.pa-video__play img { width: 100%; height: 100%; object-fit: cover; }
.pa-video__btn {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 56px; height: 56px; border-radius: 50%; padding-left: 3px;
  display: flex; align-items: center; justify-content: center;
  background: var(--white); color: var(--text-primary);
  box-shadow: var(--shadow-overlay);
  transition: transform var(--duration-base) var(--ease-out);
}
.pa-video__play:hover .pa-video__btn { transform: translate(-50%, -50%) scale(1.06); }
.pa-video__body { display: flex; flex-direction: column; gap: var(--space-4); padding: var(--card-pad); flex: 1; }
.pa-video__quote { font-size: var(--text-body-lg); line-height: 1.5; flex: 1; }
.pa-video__who { display: flex; flex-direction: column; }
.pa-video__who strong { font-family: var(--font-display); font-weight: 600; font-size: var(--text-md); }
.pa-video__who span { font-size: var(--text-sm); color: var(--text-secondary); }

/* ============================================================
   §4 FAKTEN
   ============================================================ */
.pa-answer { padding: var(--space-6); margin-bottom: var(--space-5); }
.pa-answer__q { font-family: var(--font-display); font-weight: 600; font-size: clamp(20px, 1.09rem + 0.68vw, 24px); line-height: 1.3; margin-bottom: var(--space-3); }
.pa-answer__for { margin-top: var(--space-4); font-size: var(--text-base); color: var(--text-secondary); }
.pa-answer__for strong { color: var(--text-primary); }

.pa-facts { padding: var(--space-2) var(--space-6); }
.pa-fact { display: grid; gap: var(--space-1); padding: var(--space-4) 0; border-top: 1px solid var(--bg-6); }
.pa-fact:first-child { border-top: 0; }
@media (min-width: 640px) { .pa-fact { grid-template-columns: 200px minmax(0, 1fr); gap: var(--space-5); align-items: baseline; } }
.pa-fact dt { font-size: var(--text-base); color: var(--text-secondary); }
.pa-fact dd { font-family: var(--font-display); font-weight: 600; font-size: var(--text-md); line-height: 1.4; }

/* ============================================================
   §5 PRÜFUNG: drei Kennzahl-Karten wie auf tmsbuddies.de
   ============================================================ */
.pa-exam { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-5); margin-bottom: var(--space-6); }
.pa-exam__part { display: flex; flex-direction: column; padding: var(--card-pad); }
.pa-exam__part strong { font-family: var(--font-display); font-weight: 700; font-size: clamp(40px, 1.5rem + 3vw, 64px); line-height: 1.1; color: var(--primary-500); }
.pa-exam__part span { margin-top: var(--space-1); font-size: var(--text-body-lg); }
@media (max-width: 639px) {
  .pa-exam { gap: var(--space-2); }
  .pa-exam__part { padding: var(--space-4) var(--space-3); }
  .pa-exam__part span { font-size: var(--text-sm); }
}

/* ============================================================
   §6 BEISPIELFRAGEN (Antwortoptionen wie in der Lernplattform)
   ============================================================ */
.pa-quiz { display: flex; flex-direction: column; }
.pa-tabs { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.pa-tab {
  min-height: 44px; padding: var(--space-2) var(--space-5);
  border: 1px solid var(--text-primary); border-radius: var(--radius-pill);
  background: transparent; color: var(--text-primary); cursor: pointer;
  font-family: var(--font-display); font-weight: 500; font-size: var(--text-base);
  transition: background-color var(--duration-fast) var(--ease-out), color var(--duration-fast) var(--ease-out);
}
.pa-tab:hover { background: var(--white); }
.pa-tab[aria-selected="true"] { background: var(--bg-dark2); border-color: var(--bg-dark2); color: var(--white); }
.pa-quiz__hint { margin-top: var(--space-3); font-size: var(--text-sm); color: var(--text-secondary); }
.pa-quiz .pa-panel { display: grid; gap: var(--space-4); margin-top: var(--space-5); }

.pa-q { padding: var(--space-6); }
.pa-q__title { font-family: var(--font-display); font-weight: 700; font-size: var(--text-lg); line-height: 1.3; }
.pa-q__text { margin-top: var(--space-4); font-size: var(--text-body-lg); line-height: 1.5; }
.pa-q__opts { display: grid; gap: var(--space-2); margin-top: var(--space-5); }
.pa-opt {
  display: flex; align-items: center; gap: var(--space-4);
  width: 100%; min-height: 56px; padding: var(--space-3) var(--space-5) var(--space-3) var(--space-3);
  border: 0; border-radius: var(--radius-pill); background: var(--option-bg);
  text-align: left; cursor: pointer;
  font-family: var(--font-body); font-size: var(--text-body-lg); line-height: 1.4; color: var(--text-primary);
  transition: background-color var(--duration-fast) var(--ease-out), opacity var(--duration-fast) var(--ease-out);
}
.pa-opt:not([disabled]):hover { background: var(--bg-3); }
.pa-opt[disabled] { cursor: default; }
.pa-opt.is-right { background: var(--success-bg); }
.pa-opt.is-right .pa-num { background: var(--success-fg); }
.pa-opt.is-wrong { background: var(--error-bg); }
.pa-opt.is-wrong .pa-num { background: var(--error-fg); }
.pa-opt.is-dim { opacity: 0.55; }
.pa-q__result { min-height: 1.5em; margin-top: var(--space-3); font-size: var(--text-base); font-weight: 700; }
.pa-q__result:focus { outline: none; }
.pa-q__result.is-right { color: var(--success-fg); }
.pa-q__result.is-wrong { color: var(--error-fg); }

.pa-quiz__end { margin-top: var(--space-9); gap: var(--space-4); }
.pa-quiz__punch { font-family: var(--font-display); font-weight: 600; font-size: clamp(20px, 1.09rem + 0.68vw, 24px); line-height: 1.3; }

/* ============================================================
   §7 VORTEILE + GALERIE
   ============================================================ */
.pa-benefits { display: grid; gap: var(--space-5); }
@media (min-width: 768px) { .pa-benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pa-benefit { display: flex; gap: var(--space-4); align-items: flex-start; padding: var(--space-6); }
.pa-benefit__text { color: var(--text-primary); }

.pa-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-5); margin-top: var(--space-5); }
.pa-gallery figure { border-radius: var(--card-radius); overflow: hidden; background: var(--bg-3); aspect-ratio: 4 / 3; }
.pa-gallery img { width: 100%; height: 100%; object-fit: cover; }
.pa-gallery__big { grid-column: span 2; aspect-ratio: 3 / 2 !important; }
@media (min-width: 992px) {
  .pa-gallery { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; }
  .pa-gallery__big { grid-column: auto; grid-row: span 2; aspect-ratio: auto !important; }
}

/* ============================================================
   §8 ABLAUF: fünf Karten, ab 992 px in einer Reihe
   ============================================================ */
.pa-phases { display: grid; gap: var(--space-4); }
@media (min-width: 1200px) { .pa-phases { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.pa-phase { display: flex; flex-direction: column; gap: var(--space-3); padding: var(--card-pad); }
.pa-phase--hot { box-shadow: inset 0 0 0 2px var(--primary-500), var(--shadow-live) !important; }
.pa-phase--hot .pa-num { background: var(--primary-500); }
.pa-phase__when { font-size: var(--text-sm); font-weight: 700; color: var(--text-secondary); margin-bottom: var(--space-1); }
.pa-phase__text { font-size: var(--text-base); line-height: 1.5; }
.pa-phase__body { flex: 1; display: flex; flex-direction: column; }
/* CTA im ersten Schritt */
.pa-phase__cta { align-self: flex-start; margin-top: var(--space-5); }
@media (min-width: 1200px) {
  /* unten in der Karte, Kartenhöhe kommt aus dem längsten Schritt */
  .pa-phase__cta { margin-top: auto; width: 100%; min-height: 48px; padding-inline: var(--space-3); font-size: var(--text-base); }
  .pa-phase__text { margin-bottom: var(--space-5); }
}

/* Countdown oben in der orangen Karte (Schritt 4) */
.pa-countdown { width: 100%; }
.pa-countdown__label { font-size: var(--text-sm); font-weight: 700; color: var(--text-primary); margin-bottom: var(--space-2); }
.pa-countdown__row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-1); }
.pa-countdown__row span {
  display: flex; flex-direction: column; align-items: center;
  padding: var(--space-2) 0; border-radius: var(--radius-input);
  background: var(--primary-100); color: var(--text-primary);
  font-size: var(--text-xs); line-height: 1.3;
}
.pa-countdown__row strong { font-family: var(--font-display); font-weight: 700; font-size: var(--text-lg); line-height: 1.2; font-variant-numeric: tabular-nums; }
@media (max-width: 1199px) {
  .pa-phase { flex-direction: row; flex-wrap: wrap; align-items: flex-start; gap: var(--space-4); }
  .pa-phase__body { flex: 1 1 0; min-width: 0; }
  .pa-countdown { flex: 0 0 100%; }
  .pa-countdown__row { max-width: 360px; }
}

/* ============================================================
   §9 FAQ (Karten wie auf tmsbuddies.de)
   ============================================================ */
.pa-faq { display: flex; flex-direction: column; gap: var(--space-3); }
.pa-faq__item { padding: 0 var(--space-5); }
.pa-faq__item > summary { list-style: none; cursor: pointer; }
.pa-faq__item > summary::-webkit-details-marker { display: none; }
.pa-faq__q {
  display: flex; justify-content: space-between; align-items: center; gap: var(--space-4);
  min-height: 72px; padding-block: var(--space-3);
  font-size: var(--text-base); font-weight: 700; line-height: 1.4;
}
.pa-faq__sign { flex: 0 0 auto; position: relative; width: 20px; height: 20px; }
.pa-faq__sign::before, .pa-faq__sign::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; background: var(--text-primary); border-radius: 2px; }
.pa-faq__sign::after { transform: rotate(90deg); transition: transform var(--duration-slow) var(--ease-out); }
/* Offen: Plus wird Minus. Der Strich dreht, nicht die Box (sonst ragt sie über den Rand). */
.pa-faq__item[open] .pa-faq__sign::after { transform: rotate(0deg); }
.pa-faq__a { font-size: var(--text-base); line-height: 1.6; padding-bottom: var(--space-5); }

/* ============================================================
   §10 ABSCHLUSS: Text links, Formularkarte rechts
   ============================================================ */
.pa-final {
  width: 100%; max-width: calc(var(--container) - 2 * var(--gutter));
  display: grid; gap: var(--space-9);
}
@media (min-width: 992px) {
  .pa-final { grid-template-columns: minmax(0, 1fr) minmax(0, 480px); align-items: center; gap: var(--space-10); }
}
.pa-final .pa-prose { margin-bottom: var(--space-6); }
.pa-final__list { display: grid; gap: var(--space-2); }

.pa-formcard { padding: var(--space-6); }
.pa-formcard__title, .pa-dialog__title { font-family: var(--font-display); font-weight: 700; font-size: var(--text-xl); line-height: 1.25; }
.pa-formcard__sub, .pa-dialog__sub { font-size: var(--text-base); line-height: 1.5; color: var(--text-secondary); margin-top: var(--space-2); }
.pa-formcard__sub a { color: var(--text-primary); }

/* ============================================================
   HUBSPOT-FORMULAR (v2-Embed, css: "")
   ============================================================ */
.pa-hsform { margin-top: var(--space-5); min-height: 120px; }
.pa-hsform__skeleton { display: grid; gap: var(--space-3); }
.pa-hsform__skeleton span { height: 48px; border-radius: var(--radius-badge); background: var(--bg-0); animation: pa-shimmer 1.4s ease-in-out infinite; }
@keyframes pa-shimmer { 50% { opacity: 0.5; } }
.pa-hsform__error { font-size: var(--text-sm); line-height: 1.55; padding: var(--space-3) var(--space-4); border-radius: var(--radius-badge); background: var(--warning-100); }

.pa-hsform .hs-form { display: flex; flex-direction: column; gap: var(--space-4); }
.pa-hsform fieldset { max-width: none !important; border: 0; padding: 0; margin: 0; display: flex; gap: var(--space-3); }
.pa-hsform fieldset > * { flex: 1 1 0; min-width: 0; width: auto !important; float: none !important; }
.pa-hsform fieldset .input { margin-right: 0 !important; }
.pa-hsform .hs-form-field { display: flex; flex-direction: column; gap: var(--space-2); }
.pa-hsform .hs-form-field > label { font-family: var(--font-body); font-weight: 700; font-size: var(--text-sm); color: var(--text-primary); }
.pa-hsform .hs-form-required { color: var(--text-primary); margin-left: 2px; }
.pa-hsform .hs-field-desc { font-size: var(--text-sm); color: var(--text-secondary); }
.pa-hsform .hs-input:not([type="checkbox"]):not([type="radio"]) {
  width: 100% !important; min-height: 48px;
  padding: 10px var(--space-4);
  border: 1px solid var(--border-control); border-radius: var(--radius-badge);
  background: var(--bg-0);
  font-family: var(--font-body); font-size: var(--text-base); color: var(--text-primary);
  transition: border-color var(--duration-fast) var(--ease-out), background-color var(--duration-fast) var(--ease-out);
}
/* Pfeil der Auswahlfelder. Der Selektor braucht die beiden :not() der
   Feldregel oben, sonst ist er schwächer und deren background-Kurzform
   löscht das Pfeilbild (so geschehen in der Vorwahl auf iOS). */
.pa-hsform select.hs-input:not([type="checkbox"]):not([type="radio"]) { -webkit-appearance: none; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235B5F7D' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; }
.pa-hsform .hs-input:focus { outline: 0; border-color: var(--accent-purple-500); background: var(--white); box-shadow: 0 0 0 3px rgba(100, 67, 248, 0.25); }
.pa-hsform .hs-input.invalid.error { border-color: var(--error-border); background: var(--error-100); }
/* Telefonfeld: Der Träger trägt selbst hs-input, bekommt aber keinen
   Feldrahmen. HubSpot setzt per eigenem Stylesheet Vorwahl 30 % und
   Nummer 68 % mit !important, auf dem Desktop schlägt dagegen unsere
   100-%-Regel für .hs-input (dann teilen sich beide die Zeile ohne
   Abstand). Deshalb die Breiten über flex-basis setzen: die gilt vor
   jeder width-Regel, egal wessen !important gewinnt. Vorher stand hier
   ein Raster, in dessen Spalten HubSpots Prozente ein zweites Mal
   griffen: auf dem Telefon blieb die Vorwahl 40 px breit. */
.pa-hsform .hs-fieldtype-intl-phone.hs-input { display: flex !important; gap: var(--space-2); align-items: stretch; padding: 0 !important; border: 0 !important; background: none !important; min-height: 0 !important; box-shadow: none !important; }
/* HubSpots Clearfix (::after, display: table) wäre im Flex ein leeres
   drittes Element: der gap davor ließ die Nummer 8 px zu kurz enden. */
.pa-hsform .hs-fieldtype-intl-phone.hs-input::after { display: none !important; }
.pa-hsform .hs-fieldtype-intl-phone.hs-input > .hs-input { float: none; min-width: 0; }
.pa-hsform .hs-fieldtype-intl-phone.hs-input > select.hs-input { flex: 0 0 36%; }
.pa-hsform .hs-fieldtype-intl-phone.hs-input > input.hs-input { flex: 1 1 0; }
/* Schmale Vorwahl: weniger Innenabstand, damit der Ländername lesbar bleibt */
.pa-hsform .hs-fieldtype-intl-phone select.hs-input:not([type="checkbox"]):not([type="radio"]) { padding-left: var(--space-3); padding-right: 28px; background-position: right 8px center; text-overflow: ellipsis; }
.pa-hsform .hs-error-msgs { margin: 0; padding: 0; list-style: none; }
.pa-hsform .hs-error-msg, .pa-hsform .hs-main-font-element { font-size: var(--text-sm); line-height: 1.45; color: var(--error-fg); }
.pa-hsform .inputs-list { margin: 0; padding: 0; list-style: none; display: grid; gap: var(--space-2); }
.pa-hsform .hs-form-booleancheckbox-display, .pa-hsform .hs-form-checkbox-display { display: flex; gap: var(--space-3); align-items: flex-start; min-height: 44px; cursor: pointer; }
.pa-hsform input[type="checkbox"] { flex: 0 0 24px; width: 24px; height: 24px; margin: 0; accent-color: var(--bg-dark2); }
.pa-hsform .hs-form-booleancheckbox-display > span, .pa-hsform .hs-form-checkbox-display > span { font-size: var(--text-sm); line-height: 1.5; color: var(--text-primary); margin: 0 !important; }
.pa-hsform .legal-consent-container, .pa-hsform .hs-richtext { font-size: var(--text-sm); line-height: 1.5; color: var(--text-secondary); }
.pa-hsform .legal-consent-container p, .pa-hsform .hs-richtext p { margin: 0 0 var(--space-2); }
.pa-hsform a { color: var(--text-primary); text-decoration: underline; }
.pa-hsform .hs_submit .actions { margin: 0; padding: 0; }
.pa-hsform .hs-button {
  width: 100%; min-height: 54px; padding: var(--space-3) var(--space-5);
  border: 1px solid var(--primary-500); border-radius: var(--radius-pill);
  background: var(--primary-500); color: var(--white);
  font-family: var(--font-display); font-weight: 500; font-size: var(--text-md);
  cursor: pointer; -webkit-appearance: none; appearance: none;
  transition: background-color var(--duration-fast) var(--ease-out);
}
.pa-hsform .hs-button:hover { background: var(--primary-450); border-color: var(--primary-450); }
.pa-hsform .hs-button:active { background: var(--primary-550); border-color: var(--primary-550); }
.pa-hsform .submitted-message { padding: var(--space-4); border-radius: var(--radius-badge); background: var(--success-bg); }
@media (max-width: 400px) { .pa-hsform fieldset { flex-direction: column; } }

/* ============================================================
   DIALOG (Formular). Telefon: Bottom-Sheet, ab 600 px mittig.
   ============================================================ */
.pa-dialog {
  border: 0; padding: 0; background: transparent;
  width: min(480px, calc(100vw - 32px)); max-width: none; max-height: 92dvh; margin: auto;
  color: var(--text-primary);
}
.pa-dialog::backdrop { background: rgba(0, 0, 0, 0.5); }
.pa-dialog__panel {
  position: relative; background: var(--white); border-radius: var(--radius-card-lg);
  padding: var(--space-6); max-height: 92dvh; overflow: auto; box-shadow: var(--shadow-overlay);
}
.pa-dialog__title { padding-right: var(--space-9); }
.pa-dialog__close {
  position: absolute; top: var(--space-4); right: var(--space-4);
  width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--bg-0);
  font-size: var(--text-xl); line-height: 1; cursor: pointer; color: var(--text-primary);
}
.pa-dialog__close:hover { background: var(--bg-4); }
.pa-dialog[open] { animation: pa-dialog-in var(--duration-slow) var(--ease-out); }
@keyframes pa-dialog-in { from { opacity: 0; transform: translateY(8px); } }
@media (max-width: 599px) {
  .pa-dialog { width: 100vw; margin: auto 0 0; }
  .pa-dialog__panel { border-radius: var(--radius-card) var(--radius-card) 0 0; padding: var(--space-5) var(--space-4) calc(var(--space-6) + env(safe-area-inset-bottom, 0px)); }
}

/* ---------- Footer ---------- */
/* Gemeinsamer Site-Footer (sections.footer), Stile aus landing-footer.css.
   Unter 992 px Platz fuer die Sticky-Leiste lassen, sonst verdeckt sie
   die Copyright-Zeile. Die Danke-Seite hat keine Sticky-Leiste. */
@media (max-width: 991px) {
  .pa-page:has(.pa-sticky) .copyright-widget-area { padding-bottom: 96px; }
}

/* ---------- Sticky-CTA (nur unter 992 px) ---------- */
.pa-sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  background: var(--white); box-shadow: 0 0 16px rgba(0, 0, 0, 0.08);
  padding: var(--space-3) var(--space-4); padding-bottom: calc(var(--space-3) + env(safe-area-inset-bottom, 0px));
  display: flex; justify-content: center;
  transform: translateY(110%); opacity: 0; pointer-events: none;
  transition: transform var(--duration-slow) var(--ease-out), opacity var(--duration-slow) var(--ease-out);
}
.pa-sticky.is-visible { transform: none; opacity: 1; pointer-events: auto; }
@media (min-width: 992px) { .pa-sticky { display: none; } }
.pa-sticky__inner { width: 100%; max-width: 1200px; display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); }
.pa-sticky__info { min-width: 0; }
.pa-sticky__eyebrow { font-size: var(--text-sm); color: var(--text-secondary); white-space: nowrap; }
.pa-sticky__name { font-family: var(--font-display); font-weight: 600; font-size: var(--text-base); line-height: 1.3; }
.pa-sticky__btn { min-height: 48px; padding: var(--space-2) var(--space-5); font-size: var(--text-base); }

/* ---------- Kleine Viewports ---------- */
@media (max-width: 639px) {
  .pa-header__cta { display: none; }
  .pa-header__logo { height: 26px; }
  .pa-header__partner img { height: 18px; }
  .pa-topbar__long { display: none; }
  .pa-hero__cta .pa-btn, .pa-promo__actions > *, .pa-center .pa-btn, .pa-final .pa-btn { width: 100%; }
  .pa-code { justify-content: space-between; }
  .pa-keyfact { padding: var(--space-3); }
  .pa-keyfact dd { font-size: var(--text-md); }
  .pa-promo, .pa-tuition, .pa-answer, .pa-q, .pa-benefit, .pa-formcard { padding: var(--space-5); }
  .pa-facts { padding: var(--space-1) var(--space-5); }
  .pa-opt { min-height: 52px; gap: var(--space-3); padding-right: var(--space-4); }
  .pa-faq__item { padding: 0 var(--space-4); }
}
@media (max-width: 400px) {
  .pa-btn { white-space: normal; }
  .pa-code { flex-wrap: wrap; border-radius: var(--radius-card); padding: var(--space-3); gap: var(--space-2); }
  .pa-code__value { width: 100%; text-align: center; margin: 0; }
  .pa-code__copy { flex: 1 1 auto; justify-content: center; }
  .pa-sticky__eyebrow { white-space: normal; }
  .pa-header__brand { gap: var(--space-2); }
  .pa-header__logo { height: 22px; }
  .pa-header__partner img { height: 15px; }
  .pa-header__x { font-size: var(--text-base); }
}

/* ---------- 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; }
  .js :is(
    .pa-promo, .pa-tuition, .pa-head, .pa-video, .pa-answer, .pa-fact,
    .pa-exam__part, .pa-quiz, .pa-benefit, .pa-gallery > figure, .pa-phase,
    .pa-faq__item, .pa-final__intro, .pa-formcard
  ) { opacity: 1; transform: none; }
}

@media print {
  .pa-sticky, .pa-skip, .pa-topbar, .pa-dialog { display: none !important; }
}

/* ============================================================
   DANKE-SEITE (vorher <style> in danke/index.html)
   Zentrierter Hero wie die Bestaetigungsseiten auf tmsbuddies.de
   ============================================================ */
/* Danke-Seite: zentrierter Hero wie die Bestätigungsseiten auf tmsbuddies.de */
.pa-danke { width: 100%; max-width: 800px; }
.pa-danke-hero { text-align: center; }
.pa-danke-hero .pa-danke { display: flex; flex-direction: column; align-items: center; }
.pa-danke-check {
  flex: 0 0 auto; width: 72px; height: 72px; border-radius: 50%; margin-bottom: var(--space-5);
  display: flex; align-items: center; justify-content: center;
  background: var(--primary-500); box-shadow: 0 0 0 8px var(--primary-100);
}
.pa-danke-hero .pa-origin { justify-content: center; }
.pa-danke-hero .pa-prose { margin-bottom: var(--space-8); }
.pa-danke-hero .pa-keyfacts { width: 100%; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: var(--space-8); }
.pa-danke-hero .pa-keyfact { text-align: center; padding: var(--space-4); }

/* Countdown, groß */
.pa-countdown--lg { max-width: 520px; }
.pa-countdown--lg .pa-countdown__label { font-size: var(--text-base); margin-bottom: var(--space-3); }
.pa-countdown--lg .pa-countdown__row { gap: var(--space-3); }
.pa-countdown--lg .pa-countdown__row span { background: var(--white); box-shadow: var(--shadow-live); border-radius: var(--radius-badge); padding: var(--space-3) 0; font-size: var(--text-sm); color: var(--text-secondary); }
.pa-countdown--lg .pa-countdown__row strong { font-size: var(--text-3xl); color: var(--text-primary); }

.pa-danke-steps-wrap .pa-h2 { text-align: center; }
.pa-danke-steps { display: grid; gap: var(--space-4); margin-top: var(--space-6); }
.pa-danke-step { display: flex; gap: var(--space-4); align-items: flex-start; background: var(--bg-0); border-radius: var(--card-radius); padding: var(--space-6); }
.pa-danke-step .pa-code { margin-top: var(--space-4); }
.pa-danke-help { margin-top: var(--space-4); background: var(--bg-dark2); color: var(--white); border-radius: var(--card-radius); padding: var(--space-6); display: flex; flex-wrap: wrap; gap: var(--space-4); align-items: center; justify-content: space-between; }
.pa-danke-help .pa-h3 { color: var(--white); }
.pa-danke-help .pa-phase__text { color: var(--text-light); }
.pa-danke-back { margin-top: var(--space-6); text-align: center; }
.pa-danke-back a { font-weight: 700; }
/* Kopierknopf in Markenorange */
.pa-code--light .pa-code__copy { background: var(--primary-500); color: var(--white); }
.pa-code--light .pa-code__copy:hover { background: var(--primary-450); }
@media (max-width: 639px) {
  .pa-danke-hero .pa-keyfacts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pa-danke-hero .pa-keyfact:last-child { grid-column: span 2; }
  .pa-countdown--lg .pa-countdown__row { gap: var(--space-2); }
  .pa-countdown--lg .pa-countdown__row strong { font-size: var(--text-xl); }
  .pa-danke-step, .pa-danke-help { padding: var(--space-5); }
  .pa-danke-help .pa-btn { width: 100%; }
}
