/* ── Google Fonts ─────────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Inter:wght@300;400;500;600&display=swap');

/* ── CSS Variablen ────────────────────────────────────────────────────────── */
:root {
  --hf-gold:        #F5C542;
  --hf-navy:        #1a1a2e;
  --hf-navy-light:  #16213e;
  --hf-cream:       #f8f5f0;
  --hf-white:       #ffffff;
  --hf-gray:        #6b7280;
  --hf-radius:      14px;
  --hf-shadow-sm:   0 2px 8px rgba(0,0,0,.08);
  --hf-shadow:      0 8px 32px rgba(0,0,0,.12);
  --hf-shadow-lg:   0 16px 64px rgba(0,0,0,.18);
  --hf-transition:  .22s ease;
  --hf-font-serif:  'Playfair Display', Georgia, serif;
  --hf-font-sans:   'Inter', system-ui, sans-serif;
}

/* ── Hero Section ─────────────────────────────────────────────────────────── */
.hf-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-family: var(--hf-font-sans);
}

.hf-hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0f0f1a 0%, #1a1a2e 40%, #16213e 70%, #0f3460 100%);
  z-index: 0;
}

.hf-hero__bg-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .25;
  z-index: 1;
}

.hf-hero__particles {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
}

.hf-hero__particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--hf-gold);
  border-radius: 50%;
  opacity: 0;
  animation: hf-particle-float linear infinite;
}

@keyframes hf-particle-float {
  0%   { opacity: 0; transform: translateY(100vh) scale(0); }
  10%  { opacity: .6; }
  90%  { opacity: .3; }
  100% { opacity: 0; transform: translateY(-20px) scale(1); }
}

.hf-hero__content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 80px 24px 60px;
  max-width: 780px;
  margin: 0 auto;
}

.hf-hero__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  border-radius: 99px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 28px;
  border: 1px solid;
}

.hf-hero__status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  animation: hf-pulse 2s ease-in-out infinite;
}

@keyframes hf-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .5; transform: scale(1.3); }
}

.hf-hero__eyebrow {
  font-family: var(--hf-font-sans);
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--hf-gold);
  margin-bottom: 16px;
}

.hf-hero__title {
  font-family: var(--hf-font-serif);
  font-size: clamp(2.4rem, 7vw, 4.5rem);
  font-weight: 700;
  color: var(--hf-white);
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -.01em;
}

.hf-hero__title em {
  font-style: italic;
  color: var(--hf-gold);
}

.hf-hero__subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: rgba(255,255,255,.7);
  line-height: 1.7;
  margin-bottom: 40px;
  font-weight: 300;
}

.hf-hero__cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.hf-hero__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 8px;
  font-family: var(--hf-font-sans);
  font-size: .95rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--hf-transition);
  letter-spacing: .02em;
}

.hf-hero__btn--primary {
  background: var(--hf-gold);
  color: var(--hf-navy);
}
.hf-hero__btn--primary:hover {
  background: #dbb85a;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,168,76,.35);
}

.hf-hero__btn--outline {
  border: 2px solid rgba(255,255,255,.3);
  color: var(--hf-white);
  background: rgba(255,255,255,.05);
  backdrop-filter: blur(8px);
}
.hf-hero__btn--outline:hover {
  border-color: var(--hf-gold);
  color: var(--hf-gold);
  transform: translateY(-2px);
}

.hf-hero__dates {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
}

.hf-hero__date {
  text-align: center;
}
.hf-hero__date-label {
  font-size: .75rem;
  color: rgba(255,255,255,.4);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 4px;
}
.hf-hero__date-value {
  font-size: 1rem;
  color: var(--hf-gold);
  font-weight: 600;
}

.hf-hero__scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,.3);
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  animation: hf-bounce 2s ease-in-out infinite;
}
.hf-hero__scroll svg { opacity: .5; }
@keyframes hf-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* ── Section Wrapper ──────────────────────────────────────────────────────── */
.hf-section {
  padding: 64px 24px;
  font-family: var(--hf-font-sans);
}

.hf-section--dark {
  background: var(--hf-navy);
  color: var(--hf-white);
}

.hf-section--light {
  background: var(--hf-cream);
}

.hf-section--white {
  background: var(--hf-white);
}

.hf-container {
  max-width: 1100px;
  margin: 0 auto;
}

.hf-section__title {
  font-family: var(--hf-font-serif);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
}

.hf-section__subtitle {
  font-size: 1.05rem;
  color: var(--hf-gray);
  max-width: 580px;
  line-height: 1.7;
  margin-bottom: 48px;
}

.hf-section--dark .hf-section__subtitle {
  color: rgba(255,255,255,.55);
}

/* ── How-It-Works Steps ───────────────────────────────────────────────────── */
.hf-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.hf-step {
  text-align: center;
  padding: 36px 24px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(201,168,76,.2);
  border-radius: var(--hf-radius);
  transition: transform var(--hf-transition);
}
.hf-step:hover { transform: translateY(-4px); }

.hf-step__num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--hf-gold);
  color: var(--hf-navy);
  font-family: var(--hf-font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.hf-step__title {
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--hf-white);
  margin-bottom: 10px;
}

.hf-step__desc {
  font-size: .9rem;
  color: rgba(255,255,255,.5);
  line-height: 1.65;
}

/* ── Community Banner ─────────────────────────────────────────────────────── */
.hf-community-banner {
  background: linear-gradient(135deg, var(--hf-gold) 0%, #b8962e 100%);
  padding: 64px 24px;
  font-family: var(--hf-font-sans);
}

.hf-community-banner__inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.hf-community-banner__pill {
  display: inline-block;
  background: rgba(26,26,46,.18);
  color: var(--hf-navy);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.hf-community-banner__title {
  font-family: var(--hf-font-serif);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--hf-navy);
  line-height: 1.15;
  margin-bottom: 20px;
}

.hf-community-banner__text {
  font-size: 1.05rem;
  color: rgba(26,26,46,.75);
  max-width: 660px;
  margin: 0 auto 48px;
  line-height: 1.75;
}

.hf-community-banner__values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  text-align: left;
}

.hf-community-banner__value {
  background: rgba(255,255,255,.35);
  border-radius: var(--hf-radius);
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,.5);
}

.hf-community-banner__value-icon { font-size: 1.8rem; }
.hf-community-banner__value strong { font-size: .95rem; color: var(--hf-navy); }
.hf-community-banner__value span { font-size: .85rem; color: rgba(26,26,46,.65); line-height: 1.5; }

/* ── Stats Bar ────────────────────────────────────────────────────────────── */
.hf-statsbar {
  display: flex;
  gap: 0;
  background: var(--hf-navy);
  overflow: hidden;
}

.hf-statsbar__item {
  flex: 1;
  padding: 32px 24px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.07);
  font-family: var(--hf-font-sans);
}
.hf-statsbar__item:last-child { border-right: none; }

.hf-statsbar__num {
  font-family: var(--hf-font-serif);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--hf-gold);
  line-height: 1;
  margin-bottom: 8px;
}

.hf-statsbar__label {
  font-size: .8rem;
  color: rgba(255,255,255,.4);
  text-transform: uppercase;
  letter-spacing: .1em;
}

/* ── Feedback Widget ──────────────────────────────────────────────────────── */

/* FAB – z-index ÜBER dem Panel, damit ✕ immer klickbar ist */
.hf-feedback-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 100001;          /* über Backdrop + Panel */
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--hf-gold);
  color: var(--hf-navy);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(201,168,76,.4);
  transition: transform var(--hf-transition), box-shadow var(--hf-transition);
  font-size: 1.3rem;
}
.hf-feedback-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(201,168,76,.5);
}

/* Backdrop – schließt Panel bei Klick außerhalb */
.hf-feedback-backdrop {
  position: fixed;
  inset: 0;
  z-index: 99998;
  background: rgba(0,0,0,.35);
  backdrop-filter: blur(2px);
  animation: hfFadeIn .18s ease;
}
@keyframes hfFadeIn { from { opacity: 0; } to { opacity: 1; } }

/* Panel-Wrapper (positioniert unten rechts) */
.hf-feedback-panel-wrap {
  position: fixed;
  bottom: 88px;             /* über FAB */
  right: 24px;
  z-index: 99999;
  width: 100%;
  max-width: 380px;
  pointer-events: none;
  opacity: 0;
  transform: translateY(16px) scale(.96);
  transition: opacity .22s ease, transform .25s cubic-bezier(.34,1.56,.64,1);
}
.hf-feedback-panel-wrap--open {
  pointer-events: all;
  opacity: 1;
  transform: translateY(0) scale(1);
}

.hf-feedback-panel {
  background: var(--hf-white);
  border-radius: 16px;
  box-shadow: var(--hf-shadow-lg);
  padding: 20px 24px 24px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}

/* Panel-Header: Titel + interner Schließen-Button */
.hf-feedback-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}
.hf-feedback-panel__title {
  font-family: var(--hf-font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--hf-navy);
}
.hf-feedback-panel__close {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  color: var(--hf-gray);
  padding: 4px 8px;
  border-radius: 6px;
  line-height: 1;
  transition: background var(--hf-transition), color var(--hf-transition);
}
.hf-feedback-panel__close:hover {
  background: #f3f4f6;
  color: var(--hf-navy);
}

.hf-feedback-panel__sub {
  font-size: .85rem;
  color: var(--hf-gray);
  margin-bottom: 16px;
}

/* Kontext-Bereich */
.hf-feedback-ctx {
  margin-bottom: 12px;
  font-size: .8rem;
  color: var(--hf-gray);
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
}
.hf-feedback-ctx summary {
  padding: 7px 10px;
  cursor: pointer;
  background: #f9fafb;
  font-weight: 600;
  user-select: none;
}
.hf-feedback-ctx__body {
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  word-break: break-all;
}

.hf-form-group { margin-bottom: 14px; }
.hf-form-group label {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  color: var(--hf-navy);
  margin-bottom: 5px;
}

.hf-form-control {
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid #e5e7eb;
  border-radius: 8px;
  font-family: var(--hf-font-sans);
  font-size: .9rem;
  color: var(--hf-navy);
  transition: border-color var(--hf-transition);
  background: var(--hf-white);
  box-sizing: border-box;
}
.hf-form-control:focus {
  outline: none;
  border-color: var(--hf-gold);
}

.hf-type-toggle {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.hf-type-btn {
  flex: 1;
  padding: 8px;
  border: 1.5px solid #e5e7eb;
  border-radius: 8px;
  background: var(--hf-white);
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--hf-transition);
  color: var(--hf-gray);
}
.hf-type-btn--active {
  border-color: var(--hf-gold);
  background: rgba(201,168,76,.08);
  color: var(--hf-navy);
}

/* ── Page-level overrides (works with most themes) ───────────────────────── */
.hf-page-full .entry-header,
.hf-page-full .page-header,
.hf-page-full h1.entry-title { display: none !important; }

.hf-page-full .entry-content,
.hf-page-full .page-content { padding: 0 !important; margin: 0 !important; max-width: 100% !important; }

/* ── Homepage: About-Section ──────────────────────────────────────────────── */
.hf-home-about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.hf-home-about__label {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--hf-gold);
  margin-bottom: 12px;
}

.hf-home-about__facts {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}

.hf-home-about__fact {
  font-size: .92rem;
  color: #374151;
  padding: 6px 0;
  border-bottom: 1px solid #f3f4f6;
}

.hf-home-about__card {
  background: var(--hf-white);
  border-radius: var(--hf-radius);
  padding: 24px;
  box-shadow: var(--hf-shadow-sm);
  border: 1px solid #f3f4f6;
  text-align: center;
}

/* ── Homepage: Timeline ───────────────────────────────────────────────────── */
.hf-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 40px;
  position: relative;
}

.hf-timeline::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(201,168,76,.25);
}

.hf-timeline__item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px 24px 24px 0;
  position: relative;
  border-radius: var(--hf-radius);
  transition: background var(--hf-transition);
}

.hf-timeline__item--active {
  background: rgba(201,168,76,.08);
  border: 1px solid rgba(201,168,76,.3);
  padding: 24px;
  margin: 4px 0;
}

.hf-timeline__item--done .hf-timeline__icon {
  opacity: .5;
}

.hf-timeline__icon {
  font-size: 1.6rem;
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.08);
  border-radius: 50%;
  border: 1px solid rgba(201,168,76,.2);
  position: relative;
  z-index: 1;
}

.hf-timeline__item--active .hf-timeline__icon {
  background: var(--hf-gold);
  border-color: var(--hf-gold);
}

.hf-timeline__body { flex: 1; }

.hf-timeline__phase {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: 4px;
}

.hf-timeline__item--active .hf-timeline__phase { color: var(--hf-gold); }

.hf-timeline__title {
  font-family: var(--hf-font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--hf-white);
  margin-bottom: 6px;
}

.hf-timeline__desc {
  font-size: .88rem;
  color: rgba(255,255,255,.5);
  line-height: 1.6;
  margin-bottom: 8px;
}

.hf-timeline__date {
  font-size: .85rem;
  font-weight: 600;
  color: var(--hf-gold);
}

.hf-timeline__now {
  flex-shrink: 0;
  background: var(--hf-gold);
  color: var(--hf-navy);
  font-size: .72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: .05em;
  white-space: nowrap;
  align-self: center;
}

.hf-timeline__check {
  flex-shrink: 0;
  color: rgba(255,255,255,.3);
  font-size: 1.2rem;
  align-self: center;
}

/* ── Homepage: CTA-Grid ───────────────────────────────────────────────────── */
.hf-home-cta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  max-width: 700px;
  margin: 0 auto;
}

.hf-home-cta-card {
  background: var(--hf-white);
  border-radius: 16px;
  padding: 32px 24px;
  border: 1px solid #e5e7eb;
  box-shadow: var(--hf-shadow-sm);
  text-align: center;
  transition: box-shadow var(--hf-transition), transform var(--hf-transition);
}

.hf-home-cta-card:hover {
  box-shadow: var(--hf-shadow);
  transform: translateY(-3px);
}

.hf-home-cta-card__icon { font-size: 2.5rem; margin-bottom: 12px; }
.hf-home-cta-card h3 { font-family: var(--hf-font-serif); font-size: 1.2rem; color: var(--hf-navy); margin-bottom: 10px; }
.hf-home-cta-card p { font-size: .9rem; color: var(--hf-gray); line-height: 1.6; }

/* Ghost-Button im Hero */
.hf-hero__btn--ghost {
  color: rgba(255,255,255,.6);
  border-color: rgba(255,255,255,.2);
  background: transparent;
}
.hf-hero__btn--ghost:hover {
  color: white;
  border-color: rgba(255,255,255,.5);
  background: rgba(255,255,255,.08);
}

@media (max-width: 768px) {
  .hf-home-about { grid-template-columns: 1fr; gap: 32px; }
  .hf-timeline::before { left: 24px; }
}

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 640px) {
  .hf-hero__content { padding: 60px 20px 50px; }
  .hf-hero__cta { flex-direction: column; align-items: center; }
  .hf-hero__btn { width: 100%; max-width: 280px; justify-content: center; }
  .hf-statsbar { flex-wrap: wrap; }
  .hf-statsbar__item { min-width: 50%; }
  .hf-feedback-panel-wrap { right: 12px; left: 12px; max-width: calc(100% - 24px); bottom: 80px; }
  .hf-feedback-fab { bottom: 16px; right: 16px; }
}

/* ── Whitespace über Hero entfernen ──────────────────────────────────────── */

/* Theme-Padding am Haupt-Content-Wrapper nullen */
.wp-site-blocks > main,
.site-content,
#content,
body > .site-content {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* Twenty Twenty-Five: Post-Content-Block */
.wp-block-post-content,
.entry-content,
.page-content,
article.type-page > .entry-content,
.hf-page-full > .entry-content {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* Padding, das ein Theme-Block oben hinzufügt */
.wp-block-group.is-layout-constrained > :first-child,
.wp-block-post-content > :first-child {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* ── Footer: Theme-Bereinigung + Award-Footer ───────────────────────────── */

/* Twenty Twenty-Five: alle nicht-kontrollierten Footer-Spalten ausblenden.
   Nur unser Footer-Menü (Impressum · AGB · Datenschutz) bleibt sichtbar.  */
.site-footer .wp-block-columns,
.site-footer .wp-block-column,
.site-footer .widget-area,
.footer-widgets,
footer .wp-block-group:not(.hf-footer-keep) {
  /* Wir überschreiben nicht komplett, sondern verstecken unbekannte Blöcke */
}

/* Links im Footer-Menü simpel und dezent stylen */
.site-footer nav a,
.wp-block-navigation a {
  color: #6b7280 !important;
  text-decoration: none !important;
  font-size: .85rem;
  transition: color .2s;
}
.site-footer nav a:hover,
.wp-block-navigation a:hover {
  color: var(--hf-gold) !important;
}

/* Footer-Basis: schlank halten */
.site-footer,
footer.site-footer {
  padding: 24px 0 !important;
  border-top: 1px solid #e5e7eb;
  background: #fff !important;
}

/* "Gestaltet mit WordPress" und Theme-Credit ausblenden */
.site-info,
.powered-by,
footer .site-info,
.wp-block-site-tagline { display: none !important; }

/* ── Phasen-Stepper ───────────────────────────────────────────────────────── */
.hf-phase-stepper {
  background: var(--hf-navy);
  padding: 40px 24px 28px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.hf-phase-stepper__inner {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
}
.hf-phase {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 100px;
  position: relative;
}
.hf-phase__connector {
  flex: 1;
  height: 2px;
  background: rgba(255,255,255,.12);
  margin-top: 20px;
  min-width: 32px;
}
.hf-phase__connector--done { background: var(--hf-gold); }
.hf-phase__dot {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  border: 2px solid rgba(255,255,255,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: rgba(255,255,255,.5);
  transition: all .3s;
}
.hf-phase--done .hf-phase__dot {
  background: rgba(201,168,76,.2);
  border-color: var(--hf-gold);
  color: var(--hf-gold);
  font-weight: 700;
}
.hf-phase--active .hf-phase__dot {
  background: var(--hf-gold);
  border-color: var(--hf-gold);
  color: var(--hf-navy);
  box-shadow: 0 0 0 4px rgba(201,168,76,.25);
}
.hf-phase__label {
  font-size: .75rem;
  font-weight: 600;
  color: rgba(255,255,255,.4);
  text-transform: uppercase;
  letter-spacing: .08em;
  text-align: center;
}
.hf-phase--active .hf-phase__label,
.hf-phase--done .hf-phase__label { color: rgba(255,255,255,.8); }
.hf-phase__date {
  font-size: .72rem;
  color: rgba(255,255,255,.3);
  text-align: center;
}
.hf-phase--active .hf-phase__date { color: var(--hf-gold); }
.hf-phase__now {
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--hf-gold);
  color: var(--hf-navy);
  font-size: .65rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 99px;
  white-space: nowrap;
  letter-spacing: .05em;
}
@media (max-width: 640px) {
  .hf-phase-stepper { padding: 36px 12px 20px; }
  .hf-phase { min-width: 70px; }
  .hf-phase__label { font-size: .65rem; }
  .hf-phase__date { display: none; }
}

/* ── User Bar (eingeloggte Nicht-Admins) ─────────────────────────────────── */
.hf-user-bar {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 99990;
  display: flex;
  align-items: center;
  gap: 0;
  padding: 7px 18px;
  background: rgba(26,26,46,.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom-left-radius: 12px;
  font-family: var(--hf-font-sans);
  font-size: .82rem;
  color: rgba(255,255,255,.75);
  line-height: 1;
}
.hf-user-bar__greeting strong { color: var(--hf-gold); }
.hf-user-bar__logout {
  color: rgba(255,255,255,.5);
  text-decoration: none;
  font-size: .78rem;
  transition: color .2s;
  border-left: 1px solid rgba(255,255,255,.15);
  padding-left: 14px;
  margin-left: 14px;
}
.hf-user-bar__logout:hover { color: var(--hf-gold) !important; }

/* Mobil: User-Bar unten damit das Navigationsmenü nicht überlagert wird */
@media (max-width: 768px) {
  .hf-user-bar {
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    border-bottom-left-radius: 0;
    border-radius: 10px 10px 0 0;
    justify-content: center;
    z-index: 999;
    padding: 10px 20px;
    font-size: .8rem;
  }
  /* Seiteninhalt und Footer werden nicht mehr von der User-Bar verdeckt */
  body:has(.hf-user-bar) {
    padding-bottom: 52px !important;
  }
  /* FAB und Feedback-Panel über der User-Bar halten */
  body:has(.hf-user-bar) .hf-feedback-fab {
    bottom: 68px !important;
  }
  body:has(.hf-user-bar) .hf-feedback-panel-wrap {
    bottom: 132px !important;
  }
}

/* ── Jugendstil-Divider ───────────────────────────────────────────────────── */
.hf-jugendstil-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--hf-cream, #f8f5f0);
  padding: 4px 0;
  overflow: hidden;
}
.hf-jugendstil-divider svg {
  width: 100%;
  max-width: 800px;
  height: 40px;
}
/* Divider zwischen dunklen Sections: andere Hintergrundfarbe */
.hf-section--dark + .hf-jugendstil-divider,
.hf-jugendstil-divider + .hf-section--dark {
  background: var(--hf-navy, #1a1a2e);
}
