/* Vier eigenständige Gestaltungsvarianten, vollständig auf den Kalender begrenzt. */
.hfa-calendar.hfa-theme-winter {
  --hfa-cream: #f8fbff;
  --hfa-gold: #c8e9ef;
  background: radial-gradient(ellipse at 10% 1%, #527c9e, transparent 40%), linear-gradient(145deg, #163c5c, #0b1f3a 65%, #092c49);
  color: #f6fbff;
  font-family: 'Segoe UI', Arial, sans-serif;
}
.hfa-theme-winter .hfa-orbit { color: #effbff19; }
.hfa-theme-winter .hfa-brand, .hfa-theme-winter .hfa-holiday-detail, .hfa-theme-winter .hfa-eyebrow { color: #c9edf9 !important; }
.hfa-theme-winter .hfa-calendar .hfa-heading, .hfa-theme-winter .hfa-heading { font-family: Georgia, serif; color: #fff !important; }
.hfa-theme-winter .hfa-heading em { color: #b3e8fb; }
.hfa-theme-winter .hfa-subtitle { color: #e0f1fa !important; }
.hfa-theme-winter .hfa-hero-pills span { border-color: #cce8f56b; color: #f2fbff; background: #ffffff0b; }
.hfa-theme-winter .hfa-board { border: 1px solid #b2d9eb; background: linear-gradient(145deg, #1b5074, #173c64); box-shadow: 0 7px 0 #05162d, 0 23px 66px #0414249f, inset 0 0 0 5px #e1f7ff10; }
.hfa-theme-winter .hfa-board-overline, .hfa-theme-winter .hfa-board-asterisk, .hfa-theme-winter .hfa-board-foot-mark { color: #c2e6fa; }
.hfa-theme-winter .hfa-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 17px; }
.hfa-theme-winter .hfa-door { aspect-ratio: 1.32 / 1; border-radius: 16px; background: #173e64; box-shadow: 0 5px 0 #092e50, 0 9px 18px #031a33b8; }
.hfa-theme-winter .hfa-door-face { border: 1px solid #cae9fa; border-radius: 16px; background: linear-gradient(135deg, #4c8aaf, #1b4c75); color: #f8fcff; box-shadow: inset 0 0 0 6px #e6f8ff12; }
.hfa-theme-winter .hfa-door:nth-child(4n + 2) .hfa-door-face { background: linear-gradient(135deg, #608fae, #275c84); }
.hfa-theme-winter .hfa-door:nth-child(4n + 3) .hfa-door-face { background: linear-gradient(135deg, #366e99, #154060); }
.hfa-theme-winter .hfa-door:nth-child(7n) .hfa-door-face { background: linear-gradient(135deg, #a4c8db, #5d91b2); }
.hfa-theme-winter .hfa-door[data-day="24"] .hfa-door-face { background: linear-gradient(135deg, #e5f8ff, #a5cfe3); color: #1a486a; }
.hfa-theme-winter .hfa-door-face::before { border-color: #ebfbff91; border-radius: 9px; }
.hfa-theme-winter .hfa-door-corner, .hfa-theme-winter .hfa-door-month { color: #daefff; }
.hfa-theme-winter .hfa-door-reveal { background: radial-gradient(circle, #376a93, #0b2a49); border-color: #d2effb; border-radius: 16px; }
.hfa-theme-winter .hfa-underneath { color: #ddecf6 !important; }

.hfa-calendar.hfa-theme-nordic {
  --hfa-cream: #263f37;
  --hfa-gold: #947857;
  background: linear-gradient(145deg, #fbf8ef, #e7eee8 54%, #f3e9d8);
  color: #274139;
  box-shadow: 0 12px 45px #3346391c;
  font-family: 'Segoe UI', Arial, sans-serif;
}
.hfa-theme-nordic .hfa-orbit { color: #315f4810; }
.hfa-theme-nordic .hfa-brand { color: #496958; }
.hfa-theme-nordic .hfa-holiday-detail, .hfa-theme-nordic .hfa-eyebrow { color: #7b654f !important; }
.hfa-theme-nordic .hfa-heading { font-family: 'Segoe UI', Arial, sans-serif !important; font-weight: 750 !important; letter-spacing: -.055em; color: #284739 !important; }
.hfa-theme-nordic .hfa-heading em { font-style: normal; font-weight: 350; color: #7b7059; }
.hfa-theme-nordic .hfa-subtitle { color: #455c50 !important; }
.hfa-theme-nordic .hfa-hero-pills span { border-color: #b6c8b9; background: #fff9edb3; color: #486256; }
.hfa-theme-nordic .hfa-board { border: 1px solid #becdbe; background: linear-gradient(145deg, #e9efe6, #dbe7db); border-radius: 8px; box-shadow: 0 9px 35px #3d584120; }
.hfa-theme-nordic .hfa-board::before, .hfa-theme-nordic .hfa-board::after { color: #839b87; }
.hfa-theme-nordic .hfa-board-head { color: #264739; }
.hfa-theme-nordic .hfa-board-heading strong { font-family: 'Segoe UI', Arial, sans-serif; font-weight: 650; }
.hfa-theme-nordic .hfa-board-overline, .hfa-theme-nordic .hfa-board-asterisk { color: #728a6b; }
.hfa-theme-nordic .hfa-live-status, .hfa-theme-nordic .hfa-status { color: #365747 !important; }
.hfa-theme-nordic .hfa-live-dot { background: #3e7862; }
.hfa-theme-nordic .hfa-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 13px; }
.hfa-theme-nordic .hfa-door { aspect-ratio: 1; border-radius: 3px; background: #9eb4a0; box-shadow: 0 3px 9px #3c634c20; }
.hfa-theme-nordic .hfa-door-face { border: 1px solid #b5c5ad; border-radius: 3px; background: linear-gradient(145deg, #fefdf7, #e1e9dc); color: #315747; box-shadow: none; }
.hfa-theme-nordic .hfa-door:nth-child(4n + 2) .hfa-door-face { background: linear-gradient(145deg, #d7e3d1, #b8cfbb); }
.hfa-theme-nordic .hfa-door:nth-child(4n + 3) .hfa-door-face { background: linear-gradient(145deg, #f1e4cb, #decdb0); }
.hfa-theme-nordic .hfa-door:nth-child(7n) .hfa-door-face { background: linear-gradient(145deg, #c9d9cf, #a5bfb0); }
.hfa-theme-nordic .hfa-door[data-day="24"] .hfa-door-face { background: linear-gradient(145deg, #537761, #294e3a); color: #fff8dc; }
.hfa-theme-nordic .hfa-door-face::before { border-color: #739b7f6c; border-radius: 1px; }
.hfa-theme-nordic .hfa-door-corner, .hfa-theme-nordic .hfa-door-month, .hfa-theme-nordic .hfa-door-knob { color: #65846c; }
.hfa-theme-nordic .hfa-door-reveal { border-color: #bed0bd; border-radius: 3px; background: radial-gradient(circle, #afc5a5, #6a9277); color: #f9f6ea; }
.hfa-theme-nordic .hfa-board-foot-mark { color: #638b6a; }
.hfa-theme-nordic .hfa-underneath { color: #536f60 !important; }
.hfa-theme-nordic .hfa-preview { background: #e7f0e5; color: #274638 !important; border-color: #afc7b3; }

.hfa-calendar.hfa-theme-festive {
  --hfa-cream: #fff8eb;
  --hfa-gold: #eaca81;
  background: radial-gradient(ellipse at 50% -16%, #5c4773 0, transparent 48%), linear-gradient(152deg, #1a243e, #151a31 58%, #292039);
  color: #fff8ec;
}
.hfa-theme-festive .hfa-orbit { color: #f7dca011; }
.hfa-theme-festive .hfa-brand, .hfa-theme-festive .hfa-eyebrow { color: #f0d7a0 !important; }
.hfa-theme-festive .hfa-heading { font-family: Georgia, serif; color: #fffaf0 !important; }
.hfa-theme-festive .hfa-heading em { color: #f5c985; }
.hfa-theme-festive .hfa-subtitle { color: #f1e4df !important; }
.hfa-theme-festive .hfa-board { border: 2px solid #d5a965; background: linear-gradient(137deg, #5a253d, #481b33 57%, #672a4a); box-shadow: 0 8px 0 #100e22, 0 22px 66px #070b1caa, inset 0 0 0 5px #eaca8117; }
.hfa-theme-festive .hfa-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 17px; }
.hfa-theme-festive .hfa-door { aspect-ratio: 1.08; border-radius: 15px; background: #29223a; box-shadow: 0 6px 0 #24142b, 0 12px 25px #1d0e23a8; }
.hfa-theme-festive .hfa-door-face { border: 2px solid #f4d99a; border-radius: 15px; background: radial-gradient(circle at 50% 20%, #844968, #4a284b 75%); color: #f8e8b7; }
.hfa-theme-festive .hfa-door:nth-child(4n + 2) .hfa-door-face { background: radial-gradient(circle at 50% 15%, #7c5175, #3b2f60 78%); }
.hfa-theme-festive .hfa-door:nth-child(4n + 3) .hfa-door-face { background: radial-gradient(circle at 50% 15%, #8b3f61, #52233c 78%); }
.hfa-theme-festive .hfa-door:nth-child(7n) .hfa-door-face { background: radial-gradient(circle at 50% 15%, #665271, #302c50 80%); }
.hfa-theme-festive .hfa-door[data-day="24"] .hfa-door-face { background: linear-gradient(140deg, #f3d99a, #b88245); color: #37253d; }
.hfa-theme-festive .hfa-door-face::before { border-color: #edcb8eb3; border-radius: 8px; }
.hfa-theme-festive .hfa-door-reveal { border-color: #f5d98a; border-radius: 15px; background: radial-gradient(circle, #7c536e, #251b37 80%); }
.hfa-theme-festive .hfa-door-number { font-size: clamp(45px, 6.5vw, 77px); }
.hfa-theme-festive .hfa-underneath { color: #eee1dc !important; }

/* Testwerkzeug – nur in der Administratoransicht gerendert. */
.hfa-test-tools { display: flex; flex-wrap: wrap; justify-content: center; align-items: end; gap: 14px 20px; margin: -12px auto 35px; border: 1px solid #dbbf8499; border-radius: 12px; padding: 14px 17px; background: #ffffffeb; color: #243d34; text-align: left; }
.hfa-test-caption { display: flex; min-width: 180px; flex: 1 0 200px; flex-direction: column; gap: 4px; }
.hfa-test-caption strong { letter-spacing: .09em; font-size: 14px; }
.hfa-test-caption span { font-size: 12px; color: #576e60; }
.hfa-test-tools label { display: flex; flex: 0 1 220px; flex-direction: column; gap: 5px; color: #29483a; font-size: 12px; font-weight: 700; }
.hfa-test-tools select { max-width: 100%; min-height: 39px; border-radius: 7px; padding: 7px 26px 7px 10px; border: 1px solid #aabeb0; color: #243e34; background: #fff; font-size: 13px; }
.hfa-dialog-test { background: #e9effc; border: 1px solid #a6bae5; border-radius: 7px; padding: 10px; color: #294d7a; font-size: 12px; font-weight: 700; }
.hfa-calendar .hfa-cta-test { cursor: pointer; }
.hfa-test-wrap { max-width: 1330px; }
.hfa-test-wrap > p { max-width: 1100px; }

@media (max-width: 820px) {
  .hfa-theme-winter .hfa-grid, .hfa-theme-festive .hfa-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
  .hfa-theme-nordic .hfa-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 530px) {
  .hfa-theme-winter .hfa-grid, .hfa-theme-festive .hfa-grid, .hfa-theme-nordic .hfa-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
  .hfa-theme-winter .hfa-door, .hfa-theme-festive .hfa-door, .hfa-theme-nordic .hfa-door { aspect-ratio: 1 / 1.08; }
  .hfa-theme-festive .hfa-door-number { font-size: clamp(34px, 9vw, 50px); }
  .hfa-test-tools { padding: 12px; gap: 10px; }
  .hfa-test-caption, .hfa-test-tools label { flex-basis: 100%; }
}

/* Testkalender und verborgenes Honeypot-Feld fuer Bot-Abwehr. */
.hfa-calendar .hfa-test-reset{align-self:end;border:1px solid #ead3a3;border-radius:9px;background:#f8edd5;color:#442839;padding:11px 14px;font-size:12px;font-weight:800;cursor:pointer;min-height:42px}
.hfa-calendar .hfa-test-reset:hover,.hfa-calendar .hfa-test-reset:focus-visible{background:#fff9ee;outline:2px solid #edc679}
.hfa-human-trap{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden;opacity:0;pointer-events:none}
.hfa-partner-links{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.hfa-calendar .hfa-partner-link{display:inline-block;padding:8px 10px;border:1px solid #ccb891;background:#fffaf2;border-radius:7px;color:#215c45!important;font-size:12px;font-weight:700;text-decoration:none!important}
.hfa-calendar .hfa-partner-link:hover{background:#f1e1c1}
