/* ============================================================
   HPP Lernportal – Portal CSS
   Prefix: .hp-  |  Tokens aus :root – niemals direkte Farben
   ============================================================ */

:root {
  --hp-accent:       #6F916D;
  --hp-accent-strong:#5a7858;
  --hp-accent-soft:  #e6ede5;
  --hp-light:        #FFFEEC;
  --hp-dark:         #141B14;
  --hp-text-on-light:#141B14;
  --hp-text-on-dark: #FFFEEC;
  --hp-muted:        #6b756a;
  --hp-line:         #e3e2cf;
  --hp-line-dark:    #2a342a;
  --hp-surface:      #fbfae0;
  --hp-success:      #4a7a48;
  --hp-error:        #a14040;
  --hp-s1: 8px;  --hp-s2: 12px; --hp-s3: 16px; --hp-s4: 24px;
  --hp-s5: 32px; --hp-s6: 48px; --hp-s7: 64px;
  --hp-r-sm: 6px; --hp-r-md: 12px; --hp-r-lg: 20px;
  --hp-font-head: "Crimson Pro", Georgia, "Times New Roman", serif;
  --hp-font-body: "Nunito Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Reset & Base – scoped auf .hp-body um Theme-Konflikte zu vermeiden */
*, *::before, *::after { box-sizing: border-box; }

/* Wird nur aktiv wenn portal-template.php greift (body.hp-body) */
body.hp-body {
  font-family: var(--hp-font-body) !important;
  color: var(--hp-text-on-light);
  background: var(--hp-light);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0;
  padding: 0;
}
body.hp-body h1,
body.hp-body h2,
body.hp-body h3,
body.hp-body h4 {
  font-family: var(--hp-font-head) !important;
  font-weight: 600;
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
body.hp-body a      { color: inherit; text-decoration: none; }
body.hp-body button { font-family: var(--hp-font-body); cursor: pointer; }
body.hp-body img    { max-width: 100%; height: auto; }
body.hp-body p      { margin: 0; }

/* ============================================================
   Topbar
   ============================================================ */
.hp-topbar {
  background: var(--hp-light);
  border-bottom: 1px solid var(--hp-line);
  position: sticky;
  top: 0;
  z-index: 50;
}
.hp-topbar__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--hp-s4);
  height: 72px;
  display: flex;
  align-items: center;
  gap: var(--hp-s5);
}
.hp-logo { display: flex; align-items: center; }
.hp-logo img { height: 36px; width: auto; display: block; }

.hp-nav { display: flex; gap: var(--hp-s4); flex: 1; }
.hp-nav a {
  font-size: 15px;
  font-weight: 600;
  padding: 8px 4px;
  color: var(--hp-muted);
  border-bottom: 2px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}
.hp-nav a:hover       { color: var(--hp-text-on-light); }
.hp-nav a.is-active   { color: var(--hp-text-on-light); border-bottom-color: var(--hp-accent); }

.hp-userpill {
  display: flex; align-items: center; gap: var(--hp-s2);
  padding: 6px 6px 6px 14px;
  border: 1px solid var(--hp-line);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
}
.hp-userpill__avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--hp-accent); color: var(--hp-light);
  display: grid; place-items: center;
  font-family: var(--hp-font-head);
  font-size: 15px; font-weight: 600;
}
.hp-iconbtn {
  background: transparent;
  border: 1px solid var(--hp-line);
  width: 40px; height: 40px; border-radius: 50%;
  /* Zentriert via flexbox statt grid um Theme-Overrides zu vermeiden */
  display: flex !important;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0;
  line-height: 1;
  color: var(--hp-text-on-light) !important;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease;
}
.hp-iconbtn svg { display: block; flex-shrink: 0; }
.hp-iconbtn:hover {
  background: var(--hp-surface) !important;
  border-color: var(--hp-accent);
}
.hp-mobile-toggle { display: none; }

/* ============================================================
   Buttons
   ============================================================ */
.hp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--hp-r-sm);
  font-weight: 700;
  font-size: 14px;
  border: 1px solid transparent;
  transition: background .15s ease, border-color .15s ease, color .15s ease, transform .05s ease;
  white-space: nowrap;
  text-decoration: none;
}
.hp-btn:active { transform: translateY(1px); }
.hp-btn--full  { width: 100%; justify-content: center; }
.hp-btn--lg    { padding: 14px 24px; font-size: 15px; }

.hp-btn--primary              { background: var(--hp-accent); color: var(--hp-light); }
.hp-btn--primary:hover        { background: var(--hp-accent-strong); }
.hp-btn--ghost                { background: transparent; border-color: var(--hp-line); color: var(--hp-text-on-light); }
.hp-btn--ghost:hover          { background: var(--hp-surface); }
.hp-btn--ghost-light          { background: transparent; border-color: rgba(255,254,236,.25); color: var(--hp-text-on-dark); }
.hp-btn--ghost-light:hover    { background: rgba(255,254,236,.06); }
.hp-btn:disabled              { opacity: .45; cursor: not-allowed; }

/* ============================================================
   Hero / Countdown-Band
   ============================================================ */
.hp-hero {
  background: var(--hp-dark);
  color: var(--hp-text-on-dark);
  padding: var(--hp-s7) var(--hp-s4);
}
.hp-hero__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--hp-s6);
  align-items: end;
}
.hp-hero__eyebrow {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--hp-accent);
  font-weight: 700;
  margin-bottom: var(--hp-s2);
}
.hp-hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 500;
  margin-bottom: var(--hp-s3);
}
.hp-hero__sub   { color: #b7c0b6; font-size: 17px; max-width: 52ch; }

.hp-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #8e9a8d;
  margin-bottom: var(--hp-s3);
  transition: color .15s ease;
}
.hp-back-link:hover { color: var(--hp-text-on-dark); }

/* Countdown Widget */
.hp-countdown {
  background: rgba(255,254,236,.04);
  border: 1px solid var(--hp-line-dark);
  border-radius: var(--hp-r-md);
  padding: var(--hp-s4);
}
.hp-countdown__label {
  display: flex; align-items: center; gap: 8px;
  color: #b7c0b6;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  margin-bottom: var(--hp-s3);
}
.hp-countdown__topic {
  font-family: var(--hp-font-head);
  font-size: 22px; font-weight: 500;
  margin-bottom: var(--hp-s4);
  line-height: 1.25;
}
.hp-countdown__numbers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--hp-s2);
  margin-bottom: var(--hp-s4);
}
.hp-countdown__cell { text-align: center; padding: var(--hp-s2) 0; }
.hp-countdown__cell strong {
  display: block;
  font-family: var(--hp-font-head);
  font-size: 44px; font-weight: 500;
  color: var(--hp-light);
  letter-spacing: -0.02em; line-height: 1;
}
.hp-countdown__cell span {
  display: block; margin-top: 6px;
  font-size: 11px; text-transform: uppercase;
  letter-spacing: 0.12em; color: #8e9a8d; font-weight: 600;
}
.hp-countdown__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--hp-s3);
  border-top: 1px solid var(--hp-line-dark);
  gap: var(--hp-s3);
  flex-wrap: wrap;
}
.hp-countdown__date {
  font-size: 14px; color: #b7c0b6;
  display: flex; align-items: center; gap: 8px;
}

/* Modul-Hero-Variante */
.hp-hero--modul { padding: var(--hp-s6) var(--hp-s4); }
.hp-hero__inner--single { grid-template-columns: 1.5fr 1fr; align-items: center; }
.hp-modul-progress-box {
  background: rgba(255,254,236,.06);
  border: 1px solid var(--hp-line-dark);
  border-radius: var(--hp-r-md);
  padding: var(--hp-s4);
}
.hp-modul-progress-box__label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: #8e9a8d; margin-bottom: var(--hp-s2); }
.hp-modul-progress-box__pct   { font-family: var(--hp-font-head); font-size: 48px; font-weight: 500; line-height: 1; margin-bottom: var(--hp-s2); }
.hp-modul-progress-box__sub   { font-size: 13px; color: #b7c0b6; margin-top: var(--hp-s2); }

/* ============================================================
   Main Layout
   ============================================================ */
.hp-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: var(--hp-s6) var(--hp-s4) var(--hp-s7);
}
.hp-section + .hp-section { margin-top: var(--hp-s6); }
.hp-section__head {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: var(--hp-s4);
  gap: var(--hp-s3); flex-wrap: wrap;
}
.hp-section__title { font-size: 28px; font-weight: 500; }
.hp-section__sub   { font-size: 14px; color: var(--hp-muted); margin-top: 4px; }

/* ============================================================
   Quick-Access Cards
   ============================================================ */
.hp-quick {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--hp-s3);
}
.hp-quick__card {
  background: var(--hp-surface);
  border: 1px solid var(--hp-line);
  border-radius: var(--hp-r-md);
  padding: var(--hp-s4);
  display: flex; flex-direction: column;
  gap: var(--hp-s3);
  min-height: 180px;
}
.hp-quick__card--feature {
  background: var(--hp-accent);
  color: var(--hp-light);
  border-color: var(--hp-accent);
  position: relative; overflow: hidden;
}
.hp-quick__card--feature::after {
  content: "";
  position: absolute; right: -40px; bottom: -40px;
  width: 200px; height: 200px; border-radius: 50%;
  background: rgba(255,254,236,.08);
}
.hp-quick__icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: rgba(255,254,236,.15);
  display: grid; place-items: center;
  color: var(--hp-light);
}
.hp-quick__card--feature .hp-quick__icon { background: rgba(255,254,236,.2); }
.hp-quick__card:not(.hp-quick__card--feature) .hp-quick__icon {
  background: var(--hp-accent-soft);
  color: var(--hp-accent);
}
.hp-quick__title { font-family: var(--hp-font-head); font-size: 24px; font-weight: 500; line-height: 1.2; }
.hp-quick__desc  { font-size: 14px; opacity: .85; flex: 1; }
.hp-quick__stats { display: flex; gap: var(--hp-s4); font-size: 13px; font-weight: 600; }
.hp-quick__stats span strong {
  display: block; font-family: var(--hp-font-head);
  font-size: 24px; font-weight: 500; line-height: 1; margin-bottom: 2px;
}
.hp-quick__card--feature .hp-btn {
  background: var(--hp-light);
  color: var(--hp-accent-strong);
  align-self: flex-start;
  position: relative; z-index: 1;
}
.hp-quick__card--feature .hp-btn:hover { background: #f7f5d4; }

/* ============================================================
   Module Tiles
   ============================================================ */
.hp-modules {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--hp-s3);
}
.hp-module {
  background: var(--hp-light);
  border: 1px solid var(--hp-line);
  border-radius: var(--hp-r-md);
  padding: var(--hp-s4);
  display: flex; flex-direction: column; gap: var(--hp-s3);
  transition: border-color .15s ease, transform .15s ease;
  cursor: pointer; text-align: left; color: inherit;
}
.hp-module:hover { border-color: var(--hp-accent); transform: translateY(-2px); }
.hp-module__head { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--hp-s2); }
.hp-module__num  { font-family: var(--hp-font-head); font-size: 14px; font-weight: 600; color: var(--hp-muted); letter-spacing: .08em; }
.hp-module__title{ font-family: var(--hp-font-head); font-size: 22px; font-weight: 500; line-height: 1.2; margin-top: 4px; }

.hp-badge {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; padding: 4px 10px; border-radius: 999px;
  white-space: nowrap; display: inline-flex; align-items: center; gap: 6px;
  flex-shrink: 0;
}
.hp-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.hp-badge--open     { background: #efeed8; color: var(--hp-muted); }
.hp-badge--progress { background: var(--hp-accent-soft); color: var(--hp-accent-strong); }
.hp-badge--done     { background: var(--hp-accent); color: var(--hp-light); }

.hp-module__meta { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; color: var(--hp-muted); margin-top: auto; }
.hp-module__pct  { font-family: var(--hp-font-head); font-size: 20px; font-weight: 500; color: var(--hp-text-on-light); }
.hp-module__sub  { font-size: 13px; color: var(--hp-muted); display: flex; align-items: center; gap: 6px; }

.hp-progress { height: 6px; background: var(--hp-line); border-radius: 999px; overflow: hidden; }
.hp-progress__bar { height: 100%; background: var(--hp-accent); border-radius: 999px; transition: width .3s ease; }

/* ============================================================
   Login
   ============================================================ */
.hp-login-wrap {
  min-height: 100vh;
  background: var(--hp-light);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--hp-s4);
}
.hp-login-card {
  width: 100%;
  max-width: 440px;
  background: #fff;
  border: 1px solid var(--hp-line);
  border-radius: var(--hp-r-lg);
  padding: var(--hp-s6);
  box-shadow: 0 4px 32px rgba(20,27,20,.06);
}
.hp-login-logo { display: flex; justify-content: center; margin-bottom: var(--hp-s5); }
.hp-login-logo img { height: 40px; width: auto; }
.hp-login-head { text-align: center; margin-bottom: var(--hp-s5); }
.hp-login-head h1 { font-size: 32px; font-weight: 500; margin-bottom: 6px; }
.hp-login-head p  { color: var(--hp-muted); font-size: 15px; }

.hp-login-alert {
  display: flex; align-items: center; gap: 10px;
  padding: var(--hp-s2) var(--hp-s3);
  border-radius: var(--hp-r-sm);
  font-size: 14px; font-weight: 500;
  margin-bottom: var(--hp-s4);
}
.hp-login-alert--error {
  background: #fdf0f0;
  border: 1px solid #e8c4c4;
  color: var(--hp-error);
}

.hp-login-form { display: flex; flex-direction: column; gap: var(--hp-s4); }

/* ============================================================
   Form Fields
   ============================================================ */
.hp-field { display: flex; flex-direction: column; gap: 6px; }
.hp-field__row  { display: flex; justify-content: space-between; align-items: center; }
.hp-field__label{ font-size: 14px; font-weight: 600; }
.hp-field__link { font-size: 13px; color: var(--hp-accent); font-weight: 600; }
.hp-field__link:hover { text-decoration: underline; }
.hp-field__input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--hp-line);
  border-radius: var(--hp-r-sm);
  background: var(--hp-light);
  font-family: var(--hp-font-body);
  font-size: 15px;
  color: var(--hp-text-on-light);
  transition: border-color .15s ease, box-shadow .15s ease;
  appearance: none;
}
.hp-field__input:focus {
  outline: none;
  border-color: var(--hp-accent);
  box-shadow: 0 0 0 3px rgba(111,145,109,.15);
}
select.hp-field__input { cursor: pointer; }

.hp-field__pw-wrap { position: relative; }
.hp-field__pw-wrap .hp-field__input { padding-right: 44px; }
.hp-field__pw-toggle {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  background: none; border: none; padding: 4px;
  color: var(--hp-muted); line-height: 0;
}
.hp-field__pw-toggle:hover { color: var(--hp-text-on-light); }

/* Checkbox */
.hp-checkbox { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14px; }
.hp-checkbox input { display: none; }
.hp-checkbox__box {
  width: 18px; height: 18px; border-radius: 4px;
  border: 1.5px solid var(--hp-line);
  background: var(--hp-light);
  flex-shrink: 0;
  display: grid; place-items: center;
  transition: background .15s ease, border-color .15s ease;
}
.hp-checkbox input:checked + .hp-checkbox__box {
  background: var(--hp-accent);
  border-color: var(--hp-accent);
}
.hp-checkbox input:checked + .hp-checkbox__box::after {
  content: "";
  width: 10px; height: 6px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translateY(-1px);
}
.hp-checkbox__label { font-weight: 500; }

/* ============================================================
   Downloads (Modul-Single)
   ============================================================ */
.hp-downloads { display: flex; gap: var(--hp-s3); flex-wrap: wrap; }
.hp-download-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px var(--hp-s4);
  background: var(--hp-surface);
  border: 1px solid var(--hp-line);
  border-radius: var(--hp-r-md);
  font-weight: 600; font-size: 15px;
  color: var(--hp-text-on-light);
  transition: border-color .15s ease, background .15s ease;
  text-decoration: none;
}
.hp-download-btn:hover { border-color: var(--hp-accent); background: var(--hp-accent-soft); }
.hp-download-btn__tag {
  font-size: 11px; font-weight: 700; letter-spacing: .06em;
  background: var(--hp-accent-soft); color: var(--hp-accent-strong);
  padding: 2px 8px; border-radius: 999px;
}

/* ============================================================
   Video Embed
   ============================================================ */
.hp-video-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  border-radius: var(--hp-r-md);
  overflow: hidden;
  background: var(--hp-dark);
}
.hp-video-wrap iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
}

/* ============================================================
   Zoom Box (Modul-Single)
   ============================================================ */
.hp-zoom-box {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--hp-s4);
  background: var(--hp-surface);
  border: 1px solid var(--hp-line);
  border-radius: var(--hp-r-md);
  padding: var(--hp-s4);
  flex-wrap: wrap;
}
.hp-zoom-box__left { display: flex; align-items: flex-start; gap: var(--hp-s3); }
.hp-zoom-box__icon {
  width: 48px; height: 48px; border-radius: var(--hp-r-sm);
  background: var(--hp-accent-soft); color: var(--hp-accent);
  display: grid; place-items: center; flex-shrink: 0;
}
.hp-zoom-box__title { font-family: var(--hp-font-head); font-size: 20px; font-weight: 500; }
.hp-zoom-box__date  { font-size: 14px; color: var(--hp-muted); margin-top: 4px; }
.hp-zoom-box__countdown { font-size: 13px; font-weight: 600; color: var(--hp-accent); margin-top: 4px; }

/* ============================================================
   Prüfungstrainer
   ============================================================ */
.hp-pt { max-width: 720px; margin: 0 auto; }
.hp-pt__mode-form { display: flex; flex-direction: column; gap: var(--hp-s4); max-width: 480px; }
.hp-pt__mode-actions { display: flex; gap: var(--hp-s3); flex-wrap: wrap; }
.hp-pt__no-fragen { color: var(--hp-muted); font-size: 14px; }

.hp-pt__quiz-header {
  display: flex; align-items: center; gap: var(--hp-s3);
  margin-bottom: var(--hp-s4);
  flex-wrap: wrap;
}
.hp-pt__progress-text { font-size: 14px; font-weight: 600; white-space: nowrap; }

.hp-pt__card {
  background: var(--hp-surface);
  border: 1px solid var(--hp-line);
  border-radius: var(--hp-r-lg);
  padding: var(--hp-s5);
}
.hp-pt__frage-text {
  font-family: var(--hp-font-head);
  font-size: 26px; font-weight: 500;
  line-height: 1.3;
  margin-bottom: var(--hp-s4);
}
.hp-pt__antworten { display: flex; flex-direction: column; gap: var(--hp-s2); margin-bottom: var(--hp-s4); }
.hp-pt__antwort-btn {
  text-align: left;
  padding: 14px var(--hp-s4);
  background: var(--hp-light);
  border: 1.5px solid var(--hp-line);
  border-radius: var(--hp-r-md);
  font-size: 15px; font-weight: 500;
  transition: border-color .12s ease, background .12s ease;
  white-space: pre-wrap;
}
.hp-pt__antwort-btn:hover:not(:disabled) {
  border-color: var(--hp-accent);
  background: var(--hp-accent-soft);
}
.hp-pt__antwort-btn--richtig {
  border-color: var(--hp-success) !important;
  background: #e8f4e8 !important;
  color: var(--hp-success);
}
.hp-pt__antwort-btn--falsch {
  border-color: var(--hp-error) !important;
  background: #fdf0f0 !important;
  color: var(--hp-error);
}
.hp-pt__begruendung {
  font-size: 14px; line-height: 1.6;
  background: var(--hp-accent-soft);
  border: 1px solid rgba(111,145,109,.2);
  border-radius: var(--hp-r-sm);
  padding: var(--hp-s3);
  margin-bottom: var(--hp-s4);
}
.hp-pt__nav { display: flex; justify-content: flex-end; }

/* Ergebnis */
.hp-pt__result { display: flex; justify-content: center; }
.hp-pt__result-card {
  background: var(--hp-surface);
  border: 1px solid var(--hp-line);
  border-radius: var(--hp-r-lg);
  padding: var(--hp-s6);
  text-align: center;
  max-width: 480px; width: 100%;
}
.hp-pt__result-icon   { margin-bottom: var(--hp-s3); }
.hp-pt__result-title  { font-size: 32px; font-weight: 500; margin-bottom: var(--hp-s4); }
.hp-pt__result-score  { font-size: 16px; margin-bottom: var(--hp-s5); }
.hp-pt__result-actions{ display: flex; gap: var(--hp-s3); flex-wrap: wrap; justify-content: center; }

/* ============================================================
   Termine
   ============================================================ */
.hp-termin-list { display: flex; flex-direction: column; gap: var(--hp-s3); }
.hp-termin {
  display: flex; align-items: center; gap: var(--hp-s4);
  background: var(--hp-surface);
  border: 1px solid var(--hp-line);
  border-radius: var(--hp-r-md);
  padding: var(--hp-s4);
  flex-wrap: wrap;
}
.hp-termin--past { opacity: .55; }
.hp-termin__date-block {
  text-align: center; min-width: 56px;
  border-right: 1px solid var(--hp-line);
  padding-right: var(--hp-s4);
}
.hp-termin__day  { display: block; font-family: var(--hp-font-head); font-size: 36px; font-weight: 500; line-height: 1; }
.hp-termin__month{ display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--hp-muted); }
.hp-termin__info { flex: 1; min-width: 160px; }
.hp-termin__title{ font-family: var(--hp-font-head); font-size: 20px; font-weight: 500; }
.hp-termin__modul{ font-size: 13px; color: var(--hp-accent); font-weight: 600; margin-top: 2px; }
.hp-termin__time { font-size: 13px; color: var(--hp-muted); margin-top: 6px; display: flex; align-items: center; gap: 6px; }
.hp-termin__actions { margin-left: auto; }

.hp-empty {
  display: flex; flex-direction: column; align-items: center; gap: var(--hp-s3);
  padding: var(--hp-s6);
  color: var(--hp-muted);
  border: 1px dashed var(--hp-line);
  border-radius: var(--hp-r-md);
  text-align: center;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 960px) {
  .hp-hero__inner                  { grid-template-columns: 1fr; gap: var(--hp-s5); }
  .hp-hero__inner--single          { grid-template-columns: 1fr; }
  .hp-quick                        { grid-template-columns: 1fr 1fr; }
  .hp-quick__card--feature         { grid-column: 1 / -1; }
  .hp-hero                         { padding: var(--hp-s6) var(--hp-s4); }
  .hp-main                         { padding: var(--hp-s5) var(--hp-s4) var(--hp-s6); }
}
@media (max-width: 720px) {
  .hp-topbar__inner { height: 64px; padding: 0 var(--hp-s3); gap: var(--hp-s3); }
  .hp-nav           { display: none; }
  .hp-userpill      { display: none; }
  .hp-mobile-toggle {
    display: grid; place-items: center;
    width: 40px; height: 40px;
    background: transparent;
    border: 1px solid var(--hp-line);
    border-radius: 8px;
    margin-left: auto;
    color: var(--hp-text-on-light);
  }
  .hp-quick          { grid-template-columns: 1fr; }
  .hp-hero h1        { font-size: 36px; }
  .hp-countdown__cell strong { font-size: 36px; }
  .hp-modules        { grid-template-columns: 1fr; }
  .hp-section__title { font-size: 24px; }
  .hp-login-card     { padding: var(--hp-s4); }
  .hp-downloads      { flex-direction: column; }
  .hp-pt__frage-text { font-size: 22px; }
}

/* ============================================================
   WP Admin Bar – Abstand wenn sichtbar
   ============================================================ */
body.hp-body.admin-bar .hp-topbar { top: 32px; }
@media screen and (max-width: 782px) {
  body.hp-body.admin-bar .hp-topbar { top: 46px; }
}
